gitlabhq/app/views/projects/_team.html.haml
2012-09-07 10:42:41 +03:00

18 lines
447 B
Plaintext

- @project.users_projects.group_by(&:project_access).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();
});
})