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/admin/hooks | |
parent | add099b024cc4155a5be494fdb9ae339fd073a14 (diff) | |
download | gitlab-ce-bafffb2d14e1924154d5b7c74c7b3cbcf8c898fd.tar.gz |
Enable SSL verification for Webhooksenable_ssl_verification_web_hook
Diffstat (limited to 'app/views/admin/hooks')
-rw-r--r-- | app/views/admin/hooks/index.html.haml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/views/admin/hooks/index.html.haml b/app/views/admin/hooks/index.html.haml index e74e1e85f41..b120f4dea67 100644 --- a/app/views/admin/hooks/index.html.haml +++ b/app/views/admin/hooks/index.html.haml @@ -18,6 +18,13 @@ = f.label :url, "URL:", class: 'control-label' .col-sm-10 = f.text_field :url, class: "form-control" + .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 System Hook", class: "btn btn-create" %hr @@ -32,6 +39,7 @@ .list-item-name = link_to admin_hook_path(hook) do %strong= hook.url + %p SSL Verification: #{hook.enable_ssl_verification ? "enabled" : "disabled"} .pull-right = link_to 'Test Hook', admin_hook_test_path(hook), class: "btn btn-sm" |