Commit 3208b6747d221068082220208fe4d0bda7a0b688
1 parent
53421e06
Exists in
master
and in
4 other branches
links for admin
Showing
4 changed files
with
3 additions
and
5 deletions
Show diff stats
app/controllers/keys_controller.rb
app/views/admin/projects/index.html.haml
app/views/admin/team_members/index.html.haml
... | ... | @@ -14,7 +14,7 @@ |
14 | 14 | - members.each do |tm| |
15 | 15 | - user = tm.user |
16 | 16 | %tr |
17 | - %td.span-6= tm.user_name | |
17 | + %td.span-6= link_to tm.user_name, admin_team_member_path(tm) | |
18 | 18 | %td.span-6= tm.user_email |
19 | 19 | %td.span-1= check_box_tag "read", 1, project.readers.include?(user), :disabled => :disabled |
20 | 20 | %td.span-1= check_box_tag "commit", 1, project.writers.include?(user), :disabled => :disabled | ... | ... |
app/views/admin/users/index.html.haml
... | ... | @@ -11,7 +11,7 @@ |
11 | 11 | - @admin_users.each do |user| |
12 | 12 | %tr |
13 | 13 | %td= check_box_tag "admin", 1, user.admin, :disabled => :disabled |
14 | - %td= user.name | |
14 | + %td= link_to user.name, [:admin, user] | |
15 | 15 | %td= user.email |
16 | 16 | %td= user.users_projects.count |
17 | 17 | %td= link_to 'Show', [:admin, user] | ... | ... |