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

17 lines
455 B
Plaintext
Raw Normal View History

2012-09-07 18:57:13 +02:00
- grouper_project_members(@project).each do |access, members|
%fieldset
%legend
= Project.access_options.key(access).pluralize
%small= members.size
%ul.unstyled
- members.sort_by(&:user_name).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();
});
})