Commit 048117c05dd73acc7d6daff623ee5fdfe85a5d25
1 parent
fed6ab24
Exists in
master
and in
4 other branches
projects helper added
Showing
2 changed files
with
9 additions
and
2 deletions
Show diff stats
app/views/projects/_team.html.haml
1 | -- @project.users_projects.group_by(&:project_access).each do |access, members| | |
1 | +- grouper_project_members(@project).each do |access, members| | |
2 | 2 | %table |
3 | 3 | %thead |
4 | 4 | %tr |
5 | - %th.span7= Project.access_options.key(access).pluralize | |
5 | + %th.span7 | |
6 | + = Project.access_options.key(access).pluralize | |
6 | 7 | %th |
7 | 8 | %tbody |
8 | 9 | - members.each do |up| | ... | ... |