mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-24 17:31:14 +00:00
git-svn-id: http://svn.redmine.org/redmine/trunk@14043 e93f8b46-1217-0410-a6f0-8f06a7374b81
26 lines
808 B
Plaintext
26 lines
808 B
Plaintext
<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 id="group-<%= group.id %>" class="<%= cycle 'odd', 'even' %> <%= "builtin" if group.builtin? %>">
|
|
<td class="name"><%= link_to group, edit_group_path(group) %></td>
|
|
<td class="user_count"><%= (@user_count_by_group_id[group.id] || 0) unless group.builtin? %></td>
|
|
<td class="buttons"><%= delete_link group unless group.builtin? %></td>
|
|
</tr>
|
|
<% end %>
|
|
</tbody>
|
|
</table>
|
|
<% else %>
|
|
<p class="nodata"><%= l(:label_no_data) %></p>
|
|
<% end %>
|