gitlab-org--gitlab-foss/app/views/team_members/_team.html.haml
2013-04-12 09:56:10 +03:00

9 lines
326 B
Text

- team.each do |access, members|
- role = Project.access_options.key(access).pluralize
.ui-box{class: role.downcase}
%h5.title
= role
%span.light (#{members.size})
%ul.well-list
- members.sort_by(&:user_name).each do |team_member|
= render 'team_members/team_member', member: team_member