gitlabhq/app/views/team_members/_team.html.haml
Robert Speicher 95bd93fe1a Remove Projects#team action
Uses TeamMembers#index instead, to be more RESTful
2012-09-16 10:07:06 -04:00

19 lines
441 B
Plaintext

- grouper_project_members(@project).each do |access, members|
%table
%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();
});
})