debian-mirror-gitlab/app/views/shared/web_hooks/_index.html.haml
2021-12-11 22:18:48 +05:30

14 lines
338 B
Text

%hr
.card
.card-header
%h5
= hook_class.underscore.humanize.titleize.pluralize
(#{hooks.size})
- if hooks.any?
%ul.content-list
- hooks.each do |hook|
= render 'shared/web_hooks/hook', hook: hook
- else
%p.text-center.gl-mt-3.gl-mb-3
= _('No webhooks found, add one in the form above.')