Revision 2aa77d78
Added by Ori Rabin over 9 years ago
app/views/realms/index.html.erb | ||
---|---|---|
<tbody>
|
||
<% for realm in @realms %>
|
||
<tr>
|
||
<td class="display-two-pane"><%= link_to_if_authorized trunc(realm.name), hash_for_edit_realm_path(:id => realm)%></td>
|
||
<td class="display-two-pane"><%= link_to_if_authorized trunc_with_tooltip(realm.name), hash_for_edit_realm_path(:id => realm)%></td>
|
||
<td><%= link_to realm.hosts_count, hosts_path(:search => "realm = #{realm}") %>
|
||
<td><%= display_delete_if_authorized hash_for_realm_path(:id => realm), :confirm => _("Delete %s?") % realm.name %></td>
|
||
</tr>
|
Also available in: Unified diff
Fixes #8963 - Rename trunc helper to trunc_with_tooltip