gitlab-org--gitlab-foss/app/views/team_members/_team.html.haml

18 lines
445 B
Text

- grouper_project_members(@project).each do |access, members|
%table.low
%thead
%tr
%th.span7
= Project.access_options.key(access).pluralize
%th
%tbody
- members.each do |up|
= render(partial: 'team_members/show', locals: {member: up})
:javascript
$(function(){
$('.repo-access-select, .project-access-select').live("change", function() {
$(this.form).submit();
});
})