gitlabhq/app/views/teams/members/_team.html.haml
2013-01-24 22:31:24 +02:00

17 lines
461 B
Plaintext

- grouped_user_team_members(@user_team).each do |access, members|
.ui-box
%h5.title
= Project.access_options.key(access).pluralize
%small= members.size
%ul.well-list
- members.sort_by(&:user_name).each do |up|
= render(partial: 'teams/members/show', locals: {member: up})
:javascript
$(function(){
$('.repo-access-select, .project-access-select').live("change", function() {
$(this.form).submit();
});
})