Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgitlabhq <m@gitlabhq.com>2011-10-15 01:12:02 +0400
committergitlabhq <m@gitlabhq.com>2011-10-15 01:12:02 +0400
commit3208b6747d221068082220208fe4d0bda7a0b688 (patch)
tree882e8ce0c7cc4ad8f1792a99a7b7af5a7b2efb16 /app/views/admin
parent53421e060a3b96a63206d39205193bfdea0eeaba (diff)
links for admin
Diffstat (limited to 'app/views/admin')
-rw-r--r--app/views/admin/projects/index.html.haml2
-rw-r--r--app/views/admin/team_members/index.html.haml2
-rw-r--r--app/views/admin/users/index.html.haml2
3 files changed, 3 insertions, 3 deletions
diff --git a/app/views/admin/projects/index.html.haml b/app/views/admin/projects/index.html.haml
index 55c41ec31bb..327561dea99 100644
--- a/app/views/admin/projects/index.html.haml
+++ b/app/views/admin/projects/index.html.haml
@@ -11,7 +11,7 @@
- @admin_projects.each do |project|
%tr
- %td= project.name
+ %td= link_to project.name, [:admin, project]
%td= project.code
%td= project.path
%td= project.users_projects.count
diff --git a/app/views/admin/team_members/index.html.haml b/app/views/admin/team_members/index.html.haml
index 4076917da64..bbd7a6c0af8 100644
--- a/app/views/admin/team_members/index.html.haml
+++ b/app/views/admin/team_members/index.html.haml
@@ -14,7 +14,7 @@
- members.each do |tm|
- user = tm.user
%tr
- %td.span-6= tm.user_name
+ %td.span-6= link_to tm.user_name, admin_team_member_path(tm)
%td.span-6= tm.user_email
%td.span-1= check_box_tag "read", 1, project.readers.include?(user), :disabled => :disabled
%td.span-1= check_box_tag "commit", 1, project.writers.include?(user), :disabled => :disabled
diff --git a/app/views/admin/users/index.html.haml b/app/views/admin/users/index.html.haml
index db60a613bce..3b5aa3996bb 100644
--- a/app/views/admin/users/index.html.haml
+++ b/app/views/admin/users/index.html.haml
@@ -11,7 +11,7 @@
- @admin_users.each do |user|
%tr
%td= check_box_tag "admin", 1, user.admin, :disabled => :disabled
- %td= user.name
+ %td= link_to user.name, [:admin, user]
%td= user.email
%td= user.users_projects.count
%td= link_to 'Show', [:admin, user]