diff .svn/pristine/5b/5b8f6ed809069164f5bc89c601c7d069457406b8.svn-base @ 1464:261b3d9a4903 redmine-2.4

Update to Redmine 2.4 branch rev 12663
author Chris Cannam
date Tue, 14 Jan 2014 14:37:42 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.svn/pristine/5b/5b8f6ed809069164f5bc89c601c7d069457406b8.svn-base	Tue Jan 14 14:37:42 2014 +0000
@@ -0,0 +1,26 @@
+<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 %>