diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-10-01 14:58:23 +0000 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-10-01 14:58:23 +0000 |
commit | 7b55d2c5b7b64f56daef58b23a391056dd2101f0 (patch) | |
tree | ea185d35e1ce31052fd766f83047f21929f920ab /app/views/ci | |
parent | 9441f2dd0abd5db343b552787dbaa69f93a9a529 (diff) | |
parent | 8d0219f0da6419fe8a2e71f3e7ccf31437b5cb6b (diff) | |
download | gitlab-ce-7b55d2c5b7b64f56daef58b23a391056dd2101f0.tar.gz |
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
Diffstat (limited to 'app/views/ci')
-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 73e60795ba6..888b1ea41d5 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 |