diff options
author | Valery Sizov <vsv2711@gmail.com> | 2015-08-11 09:59:40 +0300 |
---|---|---|
committer | Valery Sizov <vsv2711@gmail.com> | 2015-08-26 15:48:31 +0300 |
commit | bafffb2d14e1924154d5b7c74c7b3cbcf8c898fd (patch) | |
tree | 9e404f30a04e41e2e70456f2959a1780717981ae /app/views/projects/hooks | |
parent | add099b024cc4155a5be494fdb9ae339fd073a14 (diff) | |
download | gitlab-ce-bafffb2d14e1924154d5b7c74c7b3cbcf8c898fd.tar.gz |
Enable SSL verification for Webhooksenable_ssl_verification_web_hook
Diffstat (limited to 'app/views/projects/hooks')
-rw-r--r-- | app/views/projects/hooks/index.html.haml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/views/projects/hooks/index.html.haml b/app/views/projects/hooks/index.html.haml index eadbf61fdd4..85dbfd67862 100644 --- a/app/views/projects/hooks/index.html.haml +++ b/app/views/projects/hooks/index.html.haml @@ -55,6 +55,13 @@ %strong Merge Request events %p.light This url will be triggered when a merge request is created + .form-group + = f.label :enable_ssl_verification, "SSL verification", class: 'control-label checkbox' + .col-sm-10 + .checkbox + = f.label :enable_ssl_verification do + = f.check_box :enable_ssl_verification + %strong Enable SSL verification .form-actions = f.submit "Add Web Hook", class: "btn btn-create" @@ -74,3 +81,4 @@ - %w(push_events tag_push_events issues_events note_events merge_requests_events).each do |trigger| - if hook.send(trigger) %span.label.label-gray= trigger.titleize + SSL Verification: #{hook.enable_ssl_verification ? "enabled" : "disabled"} |