Commit 7b55d2c5 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'fix-visit-project-button' into 'master'

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"

![image](https://gitlab.com/jeroenvanbaarsen/gitlab-ce/uploads/e4134716680e37b3211c3b5fd6118d1e/image.png)


See merge request !1344
parents 9441f2dd 8d0219f0
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
= link_to @ref, ci_project_path(@project, ref: @ref) = link_to @ref, ci_project_path(@project, ref: @ref)
%li.pull-right %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 - if @ref
%p %p
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment