2
0

Fix unfortunate action button wrapping in admin area (#36247)

This commit is contained in:
diondiondion
2025-09-24 10:57:18 +02:00
committed by GitHub
parent 37cec638df
commit 6cbc857ee0
8 changed files with 23 additions and 14 deletions

View File

@@ -14,6 +14,6 @@
%abbr{ title: webhook.events.join(', ') }= t('admin.webhooks.enabled_events', count: webhook.events.size)
%div
.announcements-list__item__actions
= table_link_to 'edit', t('admin.webhooks.edit'), edit_admin_webhook_path(webhook) if can?(:update, webhook)
= table_link_to 'delete', t('admin.webhooks.delete'), admin_webhook_path(webhook), method: :delete, data: { confirm: t('admin.accounts.are_you_sure') } if can?(:destroy, webhook)