Revision 2aa77d78
Added by Ori Rabin over 9 years ago
app/views/users/index.html.erb | ||
---|---|---|
<tbody>
|
||
<% for user in @users %>
|
||
<tr>
|
||
<td class="display-two-pane"><%= avatar_image_tag user, :class => "avatar" %> <%=link_to_if_authorized trunc(user.login), hash_for_edit_user_path(:id => user).merge(:auth_object => user, :authorizer => authorizer) %></td>
|
||
<td class="display-two-pane"><%= avatar_image_tag user, :class => "avatar" %> <%=link_to_if_authorized trunc_with_tooltip(user.login), hash_for_edit_user_path(:id => user).merge(:auth_object => user, :authorizer => authorizer) %></td>
|
||
<td><%=h user.firstname %></td>
|
||
<td><%=h user.lastname %></td>
|
||
<td><%=h user.mail %></td>
|
Also available in: Unified diff
Fixes #8963 - Rename trunc helper to trunc_with_tooltip