Commit f394ccd5 authored by Stan Hu's avatar Stan Hu

Merge branch 'Issue#5817' into 'master'

Issue#5817 Improve wording of the web hooks page on the project's setting

Merge Request !2362 had  a typo, I'm resubmitting the merge request about issue #5817.

See merge request !2363
parents af9bbadc e304a76e
...@@ -47,14 +47,14 @@ ...@@ -47,14 +47,14 @@
= f.label :issues_events, class: 'list-label' do = f.label :issues_events, class: 'list-label' do
%strong Issues events %strong Issues events
%p.light %p.light
This url will be triggered when an issue is created This url will be triggered when an issue is created/updated/merged
%div %div
= f.check_box :merge_requests_events, class: 'pull-left' = f.check_box :merge_requests_events, class: 'pull-left'
.prepend-left-20 .prepend-left-20
= f.label :merge_requests_events, class: 'list-label' do = f.label :merge_requests_events, class: 'list-label' do
%strong Merge Request events %strong Merge Request events
%p.light %p.light
This url will be triggered when a merge request is created This url will be triggered when a merge request is created/updated/merged
%div %div
= f.check_box :build_events, class: 'pull-left' = f.check_box :build_events, class: 'pull-left'
.prepend-left-20 .prepend-left-20
......
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
= form.label :issues_events, class: 'list-label' do = form.label :issues_events, class: 'list-label' do
%strong Issues events %strong Issues events
%p.light %p.light
This url will be triggered when an issue is created This url will be triggered when an issue is created/updated/merged
- if @service.supported_events.include?("merge_request") - if @service.supported_events.include?("merge_request")
%div %div
= form.check_box :merge_requests_events, class: 'pull-left' = form.check_box :merge_requests_events, class: 'pull-left'
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
= form.label :merge_requests_events, class: 'list-label' do = form.label :merge_requests_events, class: 'list-label' do
%strong Merge Request events %strong Merge Request events
%p.light %p.light
This url will be triggered when a merge request is created This url will be triggered when a merge request is created/updated/merged
- if @service.supported_events.include?("build") - if @service.supported_events.include?("build")
%div %div
= form.check_box :build_events, class: 'pull-left' = form.check_box :build_events, class: 'pull-left'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment