2012-09-07 18:57:13 +02:00
|
|
|
- grouper_project_members(@project).each do |access, members|
|
2012-12-18 04:14:05 +01:00
|
|
|
.ui-box
|
2013-01-04 23:35:38 +01:00
|
|
|
%h5.title
|
2012-11-30 17:26:17 +01:00
|
|
|
= Project.access_options.key(access).pluralize
|
|
|
|
%small= members.size
|
2012-12-18 04:14:05 +01:00
|
|
|
%ul.well-list
|
2012-12-14 06:14:05 +01:00
|
|
|
- members.sort_by(&:user_name).each do |up|
|
2012-09-07 09:42:41 +02:00
|
|
|
= render(partial: 'team_members/show', locals: {member: up})
|
2012-03-28 09:46:51 +02:00
|
|
|
|
2011-10-08 23:36:38 +02:00
|
|
|
|
|
|
|
:javascript
|
2011-12-07 00:27:07 +01:00
|
|
|
$(function(){
|
2012-06-04 00:37:27 +02:00
|
|
|
$('.repo-access-select, .project-access-select').live("change", function() {
|
2011-12-07 00:27:07 +01:00
|
|
|
$(this.form).submit();
|
|
|
|
});
|
|
|
|
})
|