diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-09-17 00:06:30 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-09-17 00:06:30 +0300 |
commit | 274ea604fcd43ecccfba04756a9475a3efa47de0 (patch) | |
tree | 33b203dedc5e5b980f945bdf01b9f16fe698417d /app/views/projects/services | |
parent | 930ff68c1efc380cb7522aa9b3884842eecb2486 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/views/projects/services')
-rw-r--r-- | app/views/projects/services/_form.html.haml | 6 |
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) |