app/views/egov_utils/groups/show.html.haml in egov_utils-0.4.4 vs app/views/egov_utils/groups/show.html.haml in egov_utils-0.4.5

- old
+ new

@@ -1,8 +1,9 @@ %h2= @group.name -= link_to(new_users_group_path(@group), remote: true) do - %i.fa.fa-plus-circle{'aria-hidden' => 'true'} - = t('label_add_group_member') +- if @group.allow_member_assign? && can?(:manage, @group) + = link_to(new_users_group_path(@group), remote: true) do + %i.fa.fa-plus-circle{'aria-hidden' => 'true'} + = t('label_add_group_member') %ul - @group.users.each do |user| %li= user.fullname