diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-11-26 12:06:18 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-11-26 12:06:18 +0000 |
commit | 6a4ffad42050949fcf08e78147575734ae99627e (patch) | |
tree | 723bb2480948ba4ec29ca9ac10f8728dc2a831b6 /app/views/shared/_service_settings.html.haml | |
parent | 23d237110e6a646dec08e1f5b4696d2d9c51cfef (diff) | |
download | gitlab-ce-6a4ffad42050949fcf08e78147575734ae99627e.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/views/shared/_service_settings.html.haml')
-rw-r--r-- | app/views/shared/_service_settings.html.haml | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/app/views/shared/_service_settings.html.haml b/app/views/shared/_service_settings.html.haml index 627a1eb6eae..1bf52feab11 100644 --- a/app/views/shared/_service_settings.html.haml +++ b/app/views/shared/_service_settings.html.haml @@ -16,7 +16,7 @@ - if @service.configurable_events.present? .form-group.row - .col-sm-2.text-right Trigger + %label.col-form-label.col-sm-2= _('Trigger') .col-sm-10 - @service.configurable_events.each do |event| @@ -35,6 +35,22 @@ %p.text-muted = @service.class.event_description(event) + - if @service.configurable_event_actions.present? + .form-group.row + %label.col-form-label.col-sm-2= _('Event Actions') + + .col-sm-10 + - @service.configurable_event_actions.each do |action| + .form-group + .form-check + = form.check_box service_event_action_field_name(action), class: 'form-check-input' + = form.label service_event_action_field_name(action), class: 'form-check-label' do + %strong + = event_action_description(action) + + %p.text-muted + = event_action_description(action) + - @service.global_fields.each do |field| - type = field[:type] |