##// END OF EJS Templates
Merged r11613 from trunk to 2.3-stable....
Toshi MARUYAMA -
r11389:594d9e9da212
parent child
Show More
@@ -1,25 +1,26
1 <div class="contextual">
1 <div class="contextual">
2 <%= link_to l(:label_group_new), new_group_path, :class => 'icon icon-add' %>
2 <%= link_to l(:label_group_new), new_group_path, :class => 'icon icon-add' %>
3 </div>
3 </div>
4
4
5 <h2><%= l(:label_group_plural) %></h2>
5 <h2><%= l(:label_group_plural) %></h2>
6
6
7 <% if @groups.any? %>
7 <% if @groups.any? %>
8 <table class="list groups">
8 <table class="list groups">
9 <thead><tr>
9 <thead><tr>
10 <th><%=l(:label_group)%></th>
10 <th><%=l(:label_group)%></th>
11 <th><%=l(:label_user_plural)%></th>
11 <th><%=l(:label_user_plural)%></th>
12 <th></th>
12 <th></th>
13 </tr></thead>
13 </tr></thead>
14 <tbody>
14 <tbody>
15 <% @groups.each do |group| %>
15 <% @groups.each do |group| %>
16 <tr class="<%= cycle 'odd', 'even' %>">
16 <tr class="<%= cycle 'odd', 'even' %>">
17 <td><%= link_to h(group), edit_group_path(group) %></td>
17 <td><%= link_to h(group), edit_group_path(group) %></td>
18 <td align="center"><%= group.users.size %></td>
18 <td align="center"><%= group.users.size %></td>
19 <td class="buttons"><%= delete_link group %></td>
19 <td class="buttons"><%= delete_link group %></td>
20 </tr>
20 </tr>
21 <% end %>
21 <% end %>
22 </tbody>
22 </table>
23 </table>
23 <% else %>
24 <% else %>
24 <p class="nodata"><%= l(:label_no_data) %></p>
25 <p class="nodata"><%= l(:label_no_data) %></p>
25 <% end %>
26 <% end %>
General Comments 0
You need to be logged in to leave comments. Login now