Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_index.html.haml « web_hooks « shared « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 868633143cdb927d63f0d53d2d1da4a38b607086 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
%hr
= render Pajamas::CardComponent.new(card_options: { id: 'webhooks-index' }, body_options: { class: 'gl-py-0'}) do |c|
  - c.header do
    = hook_class.underscore.humanize.titleize.pluralize
    (#{hooks.size})
  - c.body do
    - 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.')