##// END OF EJS Templates
Merged r13040 (#16467)....
Merged r13040 (#16467). git-svn-id: http://svn.redmine.org/redmine/branches/2.4-stable@13045 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r12052:4710cd8e6fbc
r12770:0565e3371ee4
Show More
index.html.erb
26 lines | 663 B | text/plain | TextLexer
<div class="contextual">
<%= link_to l(:label_group_new), new_group_path, :class => 'icon icon-add' %>
</div>
<%= title l(:label_group_plural) %>
<% if @groups.any? %>
<table class="list groups">
<thead><tr>
<th><%=l(:label_group)%></th>
<th><%=l(:label_user_plural)%></th>
<th></th>
</tr></thead>
<tbody>
<% @groups.each do |group| %>
<tr class="<%= cycle 'odd', 'even' %>">
<td class="name"><%= link_to h(group), edit_group_path(group) %></td>
<td><%= group.users.size %></td>
<td class="buttons"><%= delete_link group %></td>
</tr>
<% end %>
</tbody>
</table>
<% else %>
<p class="nodata"><%= l(:label_no_data) %></p>
<% end %>