gitlabhq/app/views/teams/members/_team.html.haml

17 lines
456 B
Text
Raw Normal View History

- grouped_user_team_members(@team).each do |access, members|
2013-01-19 18:47:08 +01:00
.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();
});
})