diff options
author | Jeroen van Baarsen <jeroenvanbaarsen@gmail.com> | 2015-09-18 11:08:37 +0200 |
---|---|---|
committer | Jeroen van Baarsen <jeroenvanbaarsen@gmail.com> | 2015-09-18 11:08:37 +0200 |
commit | 8d0219f0da6419fe8a2e71f3e7ccf31437b5cb6b (patch) | |
tree | 3923155c75dbde6e371318a6cf4810184d322ab2 | |
parent | 0aec0d53b10078613b66b0d41424ee4264ae6406 (diff) | |
download | gitlab-ce-8d0219f0da6419fe8a2e71f3e7ccf31437b5cb6b.tar.gz |
Make Visit project on GitLab button goes to The internal Gitlab project
Since we are merging CI into CE, projects should go to the internal Projects
page, we can also use Turbolinks to do so.
In order to give the user an idea of integration, I renamed the button: "Go to
Project"
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
-rw-r--r-- | app/views/ci/projects/show.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/ci/projects/show.html.haml b/app/views/ci/projects/show.html.haml index 6443378af99..c4796296047 100644 --- a/app/views/ci/projects/show.html.haml +++ b/app/views/ci/projects/show.html.haml @@ -17,7 +17,7 @@ = link_to @ref, ci_project_path(@project, ref: @ref) %li.pull-right - = link_to 'View on GitLab', @project.gitlab_url, no_turbolink.merge( class: 'btn btn-sm' ) + = link_to 'Go to project', project_path(gl_project), class: 'btn btn-sm' - if @ref %p |