comparison .svn/pristine/c2/c22734b0a706ecad447a99eddb6be080500c20cb.svn-base @ 909:cbb26bc654de redmine-1.3

Update to Redmine 1.3-stable branch (Redmine SVN rev 8964)
author Chris Cannam
date Fri, 24 Feb 2012 19:09:32 +0000
parents
children
comparison
equal deleted inserted replaced
908:c6c2cbd0afee 909:cbb26bc654de
1 <div class="contextual">
2 <%= link_to l(:label_group_new), new_group_path, :class => 'icon icon-add' %>
3 </div>
4
5 <h2><%= l(:label_group_plural) %></h2>
6
7 <% if @groups.any? %>
8 <table class="list groups">
9 <thead><tr>
10 <th><%=l(:label_group)%></th>
11 <th><%=l(:label_user_plural)%></th>
12 <th></th>
13 </tr></thead>
14 <tbody>
15 <% @groups.each do |group| %>
16 <tr class="<%= cycle 'odd', 'even' %>">
17 <td><%= link_to h(group), edit_group_path(group) %></td>
18 <td align="center"><%= group.users.size %></td>
19 <td class="buttons"><%= link_to l(:button_delete), group, :confirm => l(:text_are_you_sure), :method => :delete, :class => 'icon icon-del' %></td>
20 </tr>
21 <% end %>
22 </table>
23 <% else %>
24 <p class="nodata"><%= l(:label_no_data) %></p>
25 <% end %>