summaryrefslogtreecommitdiff
path: root/app/views/projects/services
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2019-09-16 21:06:30 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2019-09-16 21:06:30 +0000
commit274ea604fcd43ecccfba04756a9475a3efa47de0 (patch)
tree33b203dedc5e5b980f945bdf01b9f16fe698417d /app/views/projects/services
parent930ff68c1efc380cb7522aa9b3884842eecb2486 (diff)
downloadgitlab-ce-274ea604fcd43ecccfba04756a9475a3efa47de0.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/views/projects/services')
-rw-r--r--app/views/projects/services/_form.html.haml6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/views/projects/services/_form.html.haml b/app/views/projects/services/_form.html.haml
index 2f277e8147a..959a2423e02 100644
--- a/app/views/projects/services/_form.html.haml
+++ b/app/views/projects/services/_form.html.haml
@@ -2,8 +2,10 @@
.col-lg-3
%h4.prepend-top-0
= @service.title
- = boolean_to_icon @service.activated?
-
+ - [true, false].each do |value|
+ - hide_class = 'd-none' if @service.activated? != value
+ %span.js-service-active-status{ class: hide_class, data: { value: value.to_s } }
+ = boolean_to_icon value
%p= #{@service.description}.
- if @service.respond_to?(:detailed_description)