Use material symbols in table link helper (#31359)
This commit is contained in:
parent
c75f7262ed
commit
71405eabfc
25 changed files with 47 additions and 36 deletions
|
|
@ -19,10 +19,10 @@
|
|||
%td
|
||||
- if @webhook.enabled?
|
||||
%span.positive-hint= t('admin.webhooks.enabled')
|
||||
= table_link_to 'power-off', t('admin.webhooks.disable'), disable_admin_webhook_path(@webhook), method: :post if can?(:disable, @webhook)
|
||||
= table_link_to 'power_off', t('admin.webhooks.disable'), disable_admin_webhook_path(@webhook), method: :post if can?(:disable, @webhook)
|
||||
- else
|
||||
%span.negative-hint= t('admin.webhooks.disabled')
|
||||
= table_link_to 'power-off', t('admin.webhooks.enable'), enable_admin_webhook_path(@webhook), method: :post if can?(:enable, @webhook)
|
||||
= table_link_to 'power_off', t('admin.webhooks.enable'), enable_admin_webhook_path(@webhook), method: :post if can?(:enable, @webhook)
|
||||
%tr
|
||||
%th= t('admin.webhooks.events')
|
||||
%td
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue