]> git.openstreetmap.org Git - rails.git/blob - app/views/user/_user.html.erb
Link the username in the user list to their profile
[rails.git] / app / views / user / _user.html.erb
1 <% cl = cycle('table0', 'table1') %>
2
3 <tr class="<%= cl %>">
4   <td>
5     <%= user_thumbnail(user) %>
6   </td>
7   <td>
8     <p>
9       <%= t 'user.list.summary',
10           :name => link_to(h(user.display_name), :action => "view", :display_name => user.display_name),
11           :ip_address => link_to(user.creation_ip, :ip => user.creation_ip),
12           :date => l(user.creation_time, :format => :friendly)
13       %>
14     </p>
15     <%= htmlize(user.description) %>
16   </td>
17   <td>
18     <%= check_box_tag "user_#{user.id}", "", false, :name => "user[#{user.id}]" %>
19   </td>
20 </tr>