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
diff options
context:
space:
mode:
authorAlfredo Sumaran <alfredo@gitlab.com>2016-06-20 23:06:36 +0300
committerAlfredo Sumaran <alfredo@gitlab.com>2016-06-20 23:06:36 +0300
commit35383f33acaae6b286c203005b0410388a3bcca0 (patch)
treeec17195dcc00579b2185861120b4525b5a135955 /app/views/projects/show.html.haml
parentbbfd62bc34061089f753e4170912be64bae16f84 (diff)
Add button to add .gitlab-ci.yml file
Diffstat (limited to 'app/views/projects/show.html.haml')
-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