debian-mirror-gitlab/app/views/projects/project_members/_group_members.html.haml
2016-11-03 12:29:30 +05:30

18 lines
671 B
Text

.panel.panel-default
.panel-heading
Group members with access to
%strong #{@group.name}
%span.badge= members.size
- if can?(current_user, :admin_group_member, @group)
.controls
= link_to 'Manage group members',
group_group_members_path(@group),
class: 'btn'
%ul.content-list
= render partial: 'shared/members/member',
collection: members.limit(20),
as: :member,
locals: { show_controls: false }
- if members.size > 20
%li
and #{members.count - 20} more. For full list visit #{link_to 'group members page', group_group_members_path(@group)}