gitlabhq/app/views/team_members/_team.html.haml
2012-12-18 06:14:05 +03:00

17 lines
450 B
Plaintext

- 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})
:javascript
$(function(){
$('.repo-access-select, .project-access-select').live("change", function() {
$(this.form).submit();
});
})