summaryrefslogtreecommitdiff
path: root/app/views/admin
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-11-23 21:31:09 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-11-23 21:31:09 +0300
commit470aa7675e07724ff48f159ee12da40409949222 (patch)
treed01536cb3529b04cc5031714f12dd808dfa87be7 /app/views/admin
parentc50ec72b52e9ed7270f7c81c2c71fd8e5a28eeb0 (diff)
downloadgitlab-ce-470aa7675e07724ff48f159ee12da40409949222.tar.gz
Fix project.code-related functionality
Diffstat (limited to 'app/views/admin')
-rw-r--r--app/views/admin/groups/index.html.haml4
-rw-r--r--app/views/admin/groups/show.html.haml4
-rw-r--r--app/views/admin/projects/show.html.haml6
3 files changed, 4 insertions, 10 deletions
diff --git a/app/views/admin/groups/index.html.haml b/app/views/admin/groups/index.html.haml
index 6a0794cfd44..534fa1dbcdd 100644
--- a/app/views/admin/groups/index.html.haml
+++ b/app/views/admin/groups/index.html.haml
@@ -14,7 +14,7 @@
%table
%thead
%th Name
- %th Code
+ %th Path
%th Projects
%th Edit
%th.cred Danger Zone!
@@ -22,7 +22,7 @@
- @groups.each do |group|
%tr
%td= link_to group.name, [:admin, group]
- %td= group.code
+ %td= group.path
%td= group.projects.count
%td= link_to 'Edit', edit_admin_group_path(group), id: "edit_#{dom_id(group)}", class: "btn small"
%td.bgred= link_to 'Destroy', [:admin, group], confirm: "REMOVE #{group.name}? Are you sure?", method: :delete, class: "btn small danger"
diff --git a/app/views/admin/groups/show.html.haml b/app/views/admin/groups/show.html.haml
index 309a10e5bb4..0254d98a0f9 100644
--- a/app/views/admin/groups/show.html.haml
+++ b/app/views/admin/groups/show.html.haml
@@ -20,9 +20,9 @@
%tr
%td
%b
- Code:
+ Path:
%td
- = @group.code
+ = @group.path
%tr
%td
%b
diff --git a/app/views/admin/projects/show.html.haml b/app/views/admin/projects/show.html.haml
index ae5da372e1a..7e4fe3fb7ad 100644
--- a/app/views/admin/projects/show.html.haml
+++ b/app/views/admin/projects/show.html.haml
@@ -29,12 +29,6 @@
%tr
%td
%b
- Code:
- %td
- = @project.code
- %tr
- %td
- %b
Path:
%td
%code= @project.path_to_repo