Mercurial > hg > soundsoftware-site
annotate .svn/pristine/9c/9c8281962b9cfd931f9c0e3d460c0770102a1d50.svn-base @ 1298:4f746d8966dd redmine_2.3_integration
Merge from redmine-2.3 branch to create new branch redmine-2.3-integration
author | Chris Cannam |
---|---|
date | Fri, 14 Jun 2013 09:28:30 +0100 |
parents | 622f24f53b42 |
children |
rev | line source |
---|---|
Chris@1295 | 1 <div class="contextual"> |
Chris@1295 | 2 <%= link_to l(:label_group_new), new_group_path, :class => 'icon icon-add' %> |
Chris@1295 | 3 </div> |
Chris@1295 | 4 |
Chris@1295 | 5 <h2><%= l(:label_group_plural) %></h2> |
Chris@1295 | 6 |
Chris@1295 | 7 <% if @groups.any? %> |
Chris@1295 | 8 <table class="list groups"> |
Chris@1295 | 9 <thead><tr> |
Chris@1295 | 10 <th><%=l(:label_group)%></th> |
Chris@1295 | 11 <th><%=l(:label_user_plural)%></th> |
Chris@1295 | 12 <th></th> |
Chris@1295 | 13 </tr></thead> |
Chris@1295 | 14 <tbody> |
Chris@1295 | 15 <% @groups.each do |group| %> |
Chris@1295 | 16 <tr class="<%= cycle 'odd', 'even' %>"> |
Chris@1295 | 17 <td><%= link_to h(group), edit_group_path(group) %></td> |
Chris@1295 | 18 <td align="center"><%= group.users.size %></td> |
Chris@1295 | 19 <td class="buttons"><%= delete_link group %></td> |
Chris@1295 | 20 </tr> |
Chris@1295 | 21 <% end %> |
Chris@1295 | 22 </tbody> |
Chris@1295 | 23 </table> |
Chris@1295 | 24 <% else %> |
Chris@1295 | 25 <p class="nodata"><%= l(:label_no_data) %></p> |
Chris@1295 | 26 <% end %> |