mirror of
https://github.com/yingziwu/mastodon.git
synced 2026-02-27 04:32:42 +00:00
Fix unfortunate action button wrapping in admin area (#36247)
This commit is contained in:
parent
37cec638df
commit
6cbc857ee0
8 changed files with 23 additions and 14 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue