diff options
Diffstat (limited to 'app/views/user_groups/_index_core.html.haml')
-rw-r--r-- | app/views/user_groups/_index_core.html.haml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/user_groups/_index_core.html.haml b/app/views/user_groups/_index_core.html.haml index 481a507..941f9fa 100644 --- a/app/views/user_groups/_index_core.html.haml +++ b/app/views/user_groups/_index_core.html.haml @@ -1,5 +1,5 @@ - cache(['user_groups_table', I18n.locale, current_user, @user, user_groups, User.order(:updated_at).last, User.count, UserGroupMembership.count, GsParameter.get('NUMBER_OF_SHOWN_ITEMS')]) do - %table + %table{:class => 'table table-striped'} %tr %th= t('user_groups.index.name') - if user_groups.pluck(:description).uniq != [nil] @@ -8,10 +8,10 @@ %th= t('user_groups.index.tenant_id') - else %th= t('user_groups.index.members') - - - reset_cycle + %th{:colspan => '3'} + - for user_group in user_groups - %tr{:class => cycle('odd', 'even')} + %tr %td= user_group.name - if user_groups.pluck(:description).uniq != [nil] %td= user_group.description |