debian-mirror-gitlab/app/views/projects/project_members/_group_members.html.haml

20 lines
662 B
Text
Raw Normal View History

2015-04-26 12:48:37 +05:30
.panel.panel-default
.panel-heading
%strong #{@group.name}
group members
%small
(#{members.count})
2015-12-23 02:04:40 +05:30
- if can?(current_user, :admin_group_member, @group)
2016-04-02 18:10:28 +05:30
.controls
= link_to 'Manage group members',
group_group_members_path(@group),
class: 'btn'
2015-12-23 02:04:40 +05:30
%ul.content-list
= render partial: 'shared/members/member',
collection: members.limit(20),
as: :member,
locals: { show_controls: false }
- if members.size > 20
2015-04-26 12:48:37 +05:30
%li
and #{members.count - 20} more. For full list visit #{link_to 'group members page', group_group_members_path(@group)}