gitlabhq/app/views/team_members/_team.html.haml
2012-11-30 18:26:17 +02:00

16 lines
434 B
Text

- grouper_project_members(@project).each do |access, members|
%fieldset
%legend
= Project.access_options.key(access).pluralize
%small= members.size
%ul.unstyled
- 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();
});
})