summaryrefslogtreecommitdiff
path: root/app/views/shared/web_hooks/_index.html.haml
blob: 5ec82ad6702970f2ced47ae9ecd4aec18173832d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
%hr
.card#webhooks-index
  .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 enabled. Select trigger events above.')