mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-29 17:49:03 +01:00
19 lines
448 B
Text
19 lines
448 B
Text
|
- 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?
|
||
|
%div.muted-hint.center-text
|
||
|
= t 'admin.webhooks.empty'
|
||
|
- else
|
||
|
.applications-list
|
||
|
= render partial: 'webhook', collection: @webhooks
|
||
|
|
||
|
= paginate @webhooks
|