2020-01-01 13:55:28 +05:30
|
|
|
%li
|
|
|
|
.row
|
|
|
|
.col-md-8.col-lg-7
|
|
|
|
%strong.light-header= hook.url
|
|
|
|
%div
|
|
|
|
- hook.class.triggers.each_value do |trigger|
|
|
|
|
- if hook.public_send(trigger)
|
2021-11-18 22:05:49 +05:30
|
|
|
%span.gl-badge.badge-muted.badge-pill.sm.gl-mt-2.deploy-project-label= trigger.to_s.titleize
|
|
|
|
%span.gl-badge.badge-muted.badge-pill.sm.gl-mt-2
|
2020-01-01 13:55:28 +05:30
|
|
|
= _('SSL Verification:')
|
|
|
|
= hook.enable_ssl_verification ? _('enabled') : _('disabled')
|
|
|
|
|
2020-07-28 23:09:34 +05:30
|
|
|
.col-md-4.col-lg-5.text-right-md.gl-mt-2
|
2021-04-29 21:17:54 +05:30
|
|
|
%span>= render 'shared/web_hooks/test_button', hook: hook, button_class: 'btn-sm btn-default gl-mr-3'
|
|
|
|
%span>= link_to _('Edit'), edit_hook_path(hook), class: 'btn gl-button btn-default btn-sm gl-mr-3'
|
2021-11-18 22:05:49 +05:30
|
|
|
= link_to _('Delete'), destroy_hook_path(hook), data: { confirm: _('Are you sure?') }, method: :delete, class: 'btn gl-button btn-secondary btn-danger-secondary btn-sm'
|