2012-09-07 07:42:41 +00:00
|
|
|
- @project.users_projects.group_by(&:project_access).each do |access, members|
|
|
|
|
%table
|
|
|
|
%thead
|
|
|
|
%tr
|
|
|
|
%th.span7= Project.access_options.key(access).pluralize
|
|
|
|
%th
|
|
|
|
%tbody
|
|
|
|
- members.each do |up|
|
|
|
|
= render(partial: 'team_members/show', locals: {member: up})
|
2012-03-28 07:46:51 +00:00
|
|
|
|
2011-10-08 21:36:38 +00:00
|
|
|
|
|
|
|
:javascript
|
2011-12-06 23:27:07 +00:00
|
|
|
$(function(){
|
2012-06-03 22:37:27 +00:00
|
|
|
$('.repo-access-select, .project-access-select').live("change", function() {
|
2011-12-06 23:27:07 +00:00
|
|
|
$(this.form).submit();
|
|
|
|
});
|
|
|
|
})
|