Use material symbols in table link helper (#31359)

This commit is contained in:
Matt Jankowski 2024-08-20 07:48:15 -04:00 committed by GitHub
parent c75f7262ed
commit 71405eabfc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
25 changed files with 47 additions and 36 deletions

View file

@ -54,6 +54,6 @@
= admin_account_link_to report.assigned_account
- if report.assigned_account != current_user.account
= table_link_to 'user', t('admin.reports.assign_to_self'), assign_to_self_admin_report_path(report), method: :post
= table_link_to 'person', t('admin.reports.assign_to_self'), assign_to_self_admin_report_path(report), method: :post
- elsif !report.assigned_account.nil?
= table_link_to 'trash', t('admin.reports.unassign'), unassign_admin_report_path(report), method: :post
= table_link_to 'delete', t('admin.reports.unassign'), unassign_admin_report_path(report), method: :post