about summary refs log tree commit diff
path: root/app/views/admin/webhooks/index.html.haml
blob: 603d0edd25ae9b2eced34ba3ed2df80d03fc6411 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
- content_for :page_title do
  = t('admin.webhooks.title')

- content_for :heading_actions do
  = link_to t('admin.webhooks.add_new'), new_admin_webhook_path, class: 'button' if can?(:create, :webhook)

%p= t('admin.webhooks.description_html')

%hr.spacer/

- if @webhooks.empty?
  .muted-hint.center-text
    = t 'admin.webhooks.empty'
- else
  .applications-list
    = render partial: 'webhook', collection: @webhooks

  = paginate @webhooks