Mercurial > hg > soundsoftware-site
annotate .svn/pristine/c1/c125a6277f7dc560bacace655471aa7685efdb87.svn-base @ 1327:287f201c2802 redmine-2.2-integration
Add italic
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Wed, 19 Jun 2013 20:56:22 +0100 |
parents | 038ba2d95de8 |
children |
rev | line source |
---|---|
Chris@1296 | 1 <div class="contextual"> |
Chris@1296 | 2 <%= link_to l(:label_group_new), new_group_path, :class => 'icon icon-add' %> |
Chris@1296 | 3 </div> |
Chris@1296 | 4 |
Chris@1296 | 5 <h2><%= l(:label_group_plural) %></h2> |
Chris@1296 | 6 |
Chris@1296 | 7 <% if @groups.any? %> |
Chris@1296 | 8 <table class="list groups"> |
Chris@1296 | 9 <thead><tr> |
Chris@1296 | 10 <th><%=l(:label_group)%></th> |
Chris@1296 | 11 <th><%=l(:label_user_plural)%></th> |
Chris@1296 | 12 <th></th> |
Chris@1296 | 13 </tr></thead> |
Chris@1296 | 14 <tbody> |
Chris@1296 | 15 <% @groups.each do |group| %> |
Chris@1296 | 16 <tr class="<%= cycle 'odd', 'even' %>"> |
Chris@1296 | 17 <td><%= link_to h(group), edit_group_path(group) %></td> |
Chris@1296 | 18 <td align="center"><%= group.users.size %></td> |
Chris@1296 | 19 <td class="buttons"><%= delete_link group %></td> |
Chris@1296 | 20 </tr> |
Chris@1296 | 21 <% end %> |
Chris@1296 | 22 </table> |
Chris@1296 | 23 <% else %> |
Chris@1296 | 24 <p class="nodata"><%= l(:label_no_data) %></p> |
Chris@1296 | 25 <% end %> |