2012-09-07 18:57:13 +02:00
|
|
|
- grouper_project_members(@project).each do |access, members|
|
2012-11-30 17:26:17 +01:00
|
|
|
%fieldset
|
|
|
|
%legend
|
|
|
|
= Project.access_options.key(access).pluralize
|
|
|
|
%small= members.size
|
|
|
|
%ul.unstyled
|
2012-09-07 09:42:41 +02:00
|
|
|
- members.each do |up|
|
|
|
|
= 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();
|
|
|
|
});
|
|
|
|
})
|