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

17 lines
450 B
Plaintext
Raw Normal View History

2012-09-07 18:57:13 +02:00
- grouper_project_members(@project).each do |access, members|
.ui-box
%h5
= Project.access_options.key(access).pluralize
%small= members.size
%ul.well-list
- 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();
});
})