mirror of
https://github.com/mastodon/mastodon
synced 2024-12-23 02:58:16 +09:00
19 lines
444 B
Plaintext
19 lines
444 B
Plaintext
- 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
|