2020-01-01 13:55:28 +05:30
|
|
|
%hr
|
|
|
|
.card
|
|
|
|
.card-header
|
|
|
|
%h5
|
|
|
|
= hook_class.underscore.humanize.titleize.pluralize
|
2021-12-11 22:18:48 +05:30
|
|
|
(#{hooks.size})
|
2020-01-01 13:55:28 +05:30
|
|
|
|
|
|
|
- if hooks.any?
|
|
|
|
%ul.content-list
|
|
|
|
- hooks.each do |hook|
|
|
|
|
= render 'shared/web_hooks/hook', hook: hook
|
|
|
|
- else
|
2020-07-28 23:09:34 +05:30
|
|
|
%p.text-center.gl-mt-3.gl-mb-3
|
2020-01-01 13:55:28 +05:30
|
|
|
= _('No webhooks found, add one in the form above.')
|