summaryrefslogtreecommitdiff
path: root/app/views/projects/builds/index.html.haml
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-03-24 14:16:21 +0100
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-03-24 14:16:21 +0100
commitd21b3a0211061a2fed5949e92320f100ab3df05b (patch)
treef098f7a27c88ba4fb543c1cf9f2185f522b97e12 /app/views/projects/builds/index.html.haml
parentffe5ac41b84c342a8b1d099afe116cb1522da8f2 (diff)
downloadgitlab-ce-d21b3a0211061a2fed5949e92320f100ab3df05b.tar.gz
Add links to CI setup documentation from project settings and builds pages
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/projects/builds/index.html.haml')
-rw-r--r--app/views/projects/builds/index.html.haml3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/projects/builds/index.html.haml b/app/views/projects/builds/index.html.haml
index 811d304ea75..d21716e4887 100644
--- a/app/views/projects/builds/index.html.haml
+++ b/app/views/projects/builds/index.html.haml
@@ -27,6 +27,9 @@
= link_to 'Cancel running', cancel_all_namespace_project_builds_path(@project.namespace, @project),
data: { confirm: 'Are you sure?' }, class: 'btn btn-danger', method: :post
+ - unless @project.builds.any?
+ = link_to 'Get started with Builds', help_page_path('ci/quick_start', 'README'), class: 'btn btn-info'
+
= link_to ci_lint_path, class: 'btn btn-default' do
= icon('wrench')
%span CI Lint