diff options
Diffstat (limited to 'app/views/groups/index.html.erb')
-rw-r--r-- | app/views/groups/index.html.erb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/groups/index.html.erb b/app/views/groups/index.html.erb index 22c89eff4..a600ca48d 100644 --- a/app/views/groups/index.html.erb +++ b/app/views/groups/index.html.erb @@ -12,10 +12,10 @@ </tr></thead> <tbody> <% @groups.each do |group| %> - <tr id="group-<%= group.id %>" class="<%= cycle 'odd', 'even' %>"> + <tr id="group-<%= group.id %>" class="<%= cycle 'odd', 'even' %> <%= "builtin" if group.builtin? %>"> <td class="name"><%= link_to h(group), edit_group_path(group) %></td> - <td class="user_count"><%= @user_count_by_group_id[group.id] || 0 %></td> - <td class="buttons"><%= delete_link group %></td> + <td class="user_count"><%= (@user_count_by_group_id[group.id] || 0) unless group.builtin? %></td> + <td class="buttons"><%= delete_link group unless group.builtin? %></td> </tr> <% end %> </tbody> |