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