annotate .svn/pristine/5b/5b8f6ed809069164f5bc89c601c7d069457406b8.svn-base @ 1519:afce8026aaeb redmine-2.4-integration

Merge from branch "live"
author Chris Cannam
date Tue, 09 Sep 2014 09:34:53 +0100
parents 261b3d9a4903
children
rev   line source
Chris@1464 1 <div class="contextual">
Chris@1464 2 <%= link_to l(:label_group_new), new_group_path, :class => 'icon icon-add' %>
Chris@1464 3 </div>
Chris@1464 4
Chris@1464 5 <%= title l(:label_group_plural) %>
Chris@1464 6
Chris@1464 7 <% if @groups.any? %>
Chris@1464 8 <table class="list groups">
Chris@1464 9 <thead><tr>
Chris@1464 10 <th><%=l(:label_group)%></th>
Chris@1464 11 <th><%=l(:label_user_plural)%></th>
Chris@1464 12 <th></th>
Chris@1464 13 </tr></thead>
Chris@1464 14 <tbody>
Chris@1464 15 <% @groups.each do |group| %>
Chris@1464 16 <tr class="<%= cycle 'odd', 'even' %>">
Chris@1464 17 <td class="name"><%= link_to h(group), edit_group_path(group) %></td>
Chris@1464 18 <td><%= group.users.size %></td>
Chris@1464 19 <td class="buttons"><%= delete_link group %></td>
Chris@1464 20 </tr>
Chris@1464 21 <% end %>
Chris@1464 22 </tbody>
Chris@1464 23 </table>
Chris@1464 24 <% else %>
Chris@1464 25 <p class="nodata"><%= l(:label_no_data) %></p>
Chris@1464 26 <% end %>