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

9 lines
530 B
Text
Raw Normal View History

2018-11-08 19:23:39 +05:30
.card.project-members-groups
.card-header
2019-07-07 11:18:12 +05:30
= _("Groups with access to <strong>%{project_name}</strong>").html_safe % { project_name: sanitize(@project.name, tags: []) }
2018-11-08 19:23:39 +05:30
%span.badge.badge-pill= group_links.size
%ul.content-list.members-list
2020-03-09 13:42:32 +05:30
- 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)