summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Sumaran <alfredo@gitlab.com>2016-06-20 15:06:36 -0500
committerAlfredo Sumaran <alfredo@gitlab.com>2016-06-20 15:06:36 -0500
commit35383f33acaae6b286c203005b0410388a3bcca0 (patch)
treeec17195dcc00579b2185861120b4525b5a135955
parentbbfd62bc34061089f753e4170912be64bae16f84 (diff)
downloadgitlab-ce-35383f33acaae6b286c203005b0410388a3bcca0.tar.gz
Add button to add .gitlab-ci.yml file17521-gitlab-ci-yml-templates
-rw-r--r--app/views/projects/show.html.haml4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/projects/show.html.haml b/app/views/projects/show.html.haml
index e9ca46a74bf..5f041aedfc0 100644
--- a/app/views/projects/show.html.haml
+++ b/app/views/projects/show.html.haml
@@ -57,6 +57,10 @@
%li.missing
= link_to add_special_file_path(@project, file_name: 'CONTRIBUTING.md', commit_message: 'Add contribution guide') do
Add Contribution guide
+ - unless @repository.gitlab_ci_yml
+ %li.missing
+ = link_to add_special_file_path(@project, file_name: '.gitlab-ci.yml') do
+ Set up CI
- if @repository.commit
.content-block.second-block.white