summaryrefslogtreecommitdiff
path: root/app/views/shared/_service_settings.html.haml
diff options
context:
space:
mode:
authorMayra Cabrera <mcabrera@gitlab.com>2018-01-04 09:33:51 +0000
committerKamil TrzciƄski <ayufan@ayufan.eu>2018-01-04 09:33:51 +0000
commite028d795c484dcd1030b4f6bba8f53d4e677f0b3 (patch)
tree4471dd62763aa97e21d12a2ef75fcec612ca6785 /app/views/shared/_service_settings.html.haml
parent0e7e9e32b30bd3c310a769eaef91843b609697df (diff)
downloadgitlab-ce-e028d795c484dcd1030b4f6bba8f53d4e677f0b3.tar.gz
41054-Disallow creation of new Kubernetes integrations
Diffstat (limited to 'app/views/shared/_service_settings.html.haml')
-rw-r--r--app/views/shared/_service_settings.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/_service_settings.html.haml b/app/views/shared/_service_settings.html.haml
index 7ca14ac93cc..61b39afb5d4 100644
--- a/app/views/shared/_service_settings.html.haml
+++ b/app/views/shared/_service_settings.html.haml
@@ -11,7 +11,7 @@
.form-group
= form.label :active, "Active", class: "control-label"
.col-sm-10
- = form.check_box :active
+ = form.check_box :active, disabled: disable_fields_service?(@service)
- if @service.supported_events.present?
.form-group