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

17 lines
456 B
Plaintext
Raw Normal View History

2012-09-07 18:57:13 +02:00
- grouper_project_members(@project).each do |access, members|
.ui-box
2013-01-04 23:35:38 +01:00
%h5.title
= 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();
});
})