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:
authorDrew Blessing <drew.blessing@mac.com>2015-04-03 18:09:30 +0300
committerDrew Blessing <drew.blessing@mac.com>2015-04-03 18:09:30 +0300
commitaaacef47fff4d7c359cb025caf879dff56a98932 (patch)
treeb058c0382bd5def92918f79451ce06199a42ecf4 /app/views/admin
parentaedc12547aa87827ebb330481da957ba974708b8 (diff)
parent368cbe30675edeffbe90f494806d6f9e6b34c7ee (diff)
Merge branch 'fix-admin-project-urls' into 'master'
Link paths for http and ssh in the admin project show view are incorrect The link paths for http and ssh in the admin project show view are incorrect. Clicking on them effectively reloads the page. I think the intent is to have the links point to the project dashboard. Incorrect: http://gitlab.example.com/admin/projects/[namespace]/[project] Correct: http://gitlab.example.com/[namespace]/[project] See merge request !214
Diffstat (limited to 'app/views/admin')
-rw-r--r--app/views/admin/projects/show.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/admin/projects/show.html.haml b/app/views/admin/projects/show.html.haml
index 05372f4124f..b0b23132560 100644
--- a/app/views/admin/projects/show.html.haml
+++ b/app/views/admin/projects/show.html.haml
@@ -42,11 +42,11 @@
%li
%span.light http:
%strong
- = link_to @project.http_url_to_repo
+ = link_to @project.http_url_to_repo, project_path(@project)
%li
%span.light ssh:
%strong
- = link_to @project.ssh_url_to_repo
+ = link_to @project.ssh_url_to_repo, project_path(@project)
- if @project.repository.exists?
%li
%span.light fs: