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
path: root/app/views
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-09-16 19:26:41 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-09-16 19:26:41 +0300
commita0aa6453bd0099a0e1d0bfd6725fff8aaa9d29a9 (patch)
treec924662fcbfda59f6ac389be68999a509a193760 /app/views
parentf4920b769f95c3fb024cc78db8a3fad6c6f8e46b (diff)
parentf9dc3a2fb59da4ca6192faa48a9b25850f99e1a7 (diff)
Merge branch 'add-links-to-ci' into 'master'
Add links from GitLab to CI * link from dashboard to CI dashboard * link from project to CI project Its a fast solution for 8.0. Might be improved in later versions Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> See merge request !1313
Diffstat (limited to 'app/views')
-rw-r--r--app/views/layouts/nav/_dashboard.html.haml5
-rw-r--r--app/views/projects/_home_panel.html.haml4
2 files changed, 9 insertions, 0 deletions
diff --git a/app/views/layouts/nav/_dashboard.html.haml b/app/views/layouts/nav/_dashboard.html.haml
index c3b07200621..56283cba6bd 100644
--- a/app/views/layouts/nav/_dashboard.html.haml
+++ b/app/views/layouts/nav/_dashboard.html.haml
@@ -46,3 +46,8 @@
= icon('user fw')
%span
Profile Settings
+ = nav_link(controller: :ci) do
+ = link_to ci_root_path, title: 'Continuous Integration', data: {placement: 'right'} do
+ = icon('building fw')
+ %span
+ CI
diff --git a/app/views/projects/_home_panel.html.haml b/app/views/projects/_home_panel.html.haml
index dbecd1e7192..b347846c932 100644
--- a/app/views/projects/_home_panel.html.haml
+++ b/app/views/projects/_home_panel.html.haml
@@ -28,4 +28,8 @@
= render 'projects/buttons/dropdown'
+ - if @project.gitlab_ci?
+ = link_to ci_project_path(@project.gitlab_ci_project), class: 'btn btn-default' do
+ CI
+
= render "shared/clone_panel"