2022-06-09 22:57:36 +03:00
|
|
|
- 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?
|
2023-03-15 05:15:36 +02:00
|
|
|
.muted-hint.center-text
|
2022-06-09 22:57:36 +03:00
|
|
|
= t 'admin.webhooks.empty'
|
|
|
|
- else
|
|
|
|
.applications-list
|
|
|
|
= render partial: 'webhook', collection: @webhooks
|
|
|
|
|
|
|
|
= paginate @webhooks
|