debian-mirror-gitlab/app/views/shared/web_hooks/_index.html.haml

15 lines
365 B
Text
Raw Normal View History

2020-01-01 13:55:28 +05:30
%hr
.card
.card-header
%h5
= hook_class.underscore.humanize.titleize.pluralize
(#{hooks.count})
- if hooks.any?
%ul.content-list
- hooks.each do |hook|
= render 'shared/web_hooks/hook', hook: hook
- else
%p.text-center.prepend-top-default.append-bottom-default
= _('No webhooks found, add one in the form above.')