summaryrefslogtreecommitdiff
path: root/app/views/shared/web_hooks/_index.html.haml
blob: 149f4baeb2109bc533c138ed7061aebbd8037c22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
%hr
.card
  .card-header
    %h5
      = hook_class.underscore.humanize.titleize.pluralize
      (#{hooks.load.size})

  - 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.')