summaryrefslogtreecommitdiff
path: root/app/views/admin
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2015-09-18 10:19:08 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2015-09-18 12:46:47 +0200
commite41a29b0c381458f789d62cfeb9ad94920f78804 (patch)
treea4fc62468ad98fdff7b475906acf4ef048c209a4 /app/views/admin
parent1eb3dde45b55afb723954e577b7bd12946aeb3ca (diff)
downloadgitlab-ce-e41a29b0c381458f789d62cfeb9ad94920f78804.tar.gz
Allow to disable GitLab CI
Diffstat (limited to 'app/views/admin')
-rw-r--r--app/views/admin/application_settings/_form.html.haml9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/views/admin/application_settings/_form.html.haml b/app/views/admin/application_settings/_form.html.haml
index a36ae0b766c..1476e29524c 100644
--- a/app/views/admin/application_settings/_form.html.haml
+++ b/app/views/admin/application_settings/_form.html.haml
@@ -124,5 +124,14 @@
= f.text_area :help_page_text, class: 'form-control', rows: 4
.help-block Markdown enabled
+ %fieldset
+ %legend Continuous Integration
+ .form-group
+ .col-sm-offset-2.col-sm-10
+ .checkbox
+ = f.label :ci_enabled do
+ = f.check_box :ci_enabled
+ Enable Continuous Integration
+
.form-actions
= f.submit 'Save', class: 'btn btn-primary'