gitlabhq/app/views/team_members/_team.html.haml

19 lines
441 B
Text
Raw Normal View History

2012-09-07 18:57:13 +02:00
- grouper_project_members(@project).each do |access, members|
%table
%thead
%tr
2012-09-07 18:57:13 +02:00
%th.span7
= Project.access_options.key(access).pluralize
%th
%tbody
- members.each do |up|
= render(partial: 'team_members/show', locals: {member: up})
2011-10-08 23:36:38 +02:00
:javascript
$(function(){
$('.repo-access-select, .project-access-select').live("change", function() {
$(this.form).submit();
});
})