Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(3)

Side by Side Diff: app/views/address_book/index.rhtml

Issue 2323: Upgrade to Rails 2 SVN Base: http://familyconnect.rubyforge.org/svn/trunk/
Patch Set: Created 6 months, 3 weeks ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 <h1>Address Book</h1> 1 <h1>Address Book</h1>
2 <h3>Listing <%= pluralize(@users.size, 'family member') %></h3> 2 <h3>Listing <%= pluralize(@users.size, 'family member') %></h3>
3 3
4 <% for user in @users %> 4 <% for user in @users %>
5 <div class="section"> 5 <div class="section">
6 <%= render :partial => 'account/user_info_table', 6 <%= render :partial => 'account/user_info_table',
7 :locals => {:user => user, :show_image => true} %> 7 :locals => {:user => user, :show_image => true} %>
8 8
9 <div class="highlight"> 9 <div class="highlight">
10 <% if current_user and user.id == current_user.id -%> 10 <% if current_user and user.id == current_user.id -%>
11 You can click on your name or photo to change your contact information.<br /> 11 You can click on your name or photo to change your contact information.<br />
12 <% end -%> 12 <% end -%>
13 13
14 <% unless user.news_items_count == 0 -%> 14 <% unless user.news_items.count == 0 -%>
15 <%= render :partial => 'account/user_news_links', 15 <%= render :partial => 'account/user_news_links',
16 :locals => {:user => user} %> 16 :locals => {:user => user} %>
17 <% end -%> 17 <% end -%>
18 </div> 18 </div>
19 </div> 19 </div>
20 <% end %> 20 <% end %>
OLDNEW

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld r381