debian-mirror-gitlab/app/views/projects/project_members/_groups.html.haml
2020-03-09 13:42:32 +05:30

8 lines
530 B
Text

.card.project-members-groups
.card-header
= _("Groups with access to <strong>%{project_name}</strong>").html_safe % { project_name: sanitize(@project.name, tags: []) }
%span.badge.badge-pill= group_links.size
%ul.content-list.members-list
- can_admin_member = can?(current_user, :admin_project_member, @project)
- @group_links.each do |group_link|
= render 'shared/members/group', group_link: group_link, can_admin_member: can_admin_member, group_link_path: project_group_link_path(@project, group_link)