Add material design icons to admin/settings views (#27780)

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Matt Jankowski 2024-04-23 12:43:49 -04:00 committed by GitHub
parent a2399046ca
commit 32ead51e5a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
33 changed files with 79 additions and 60 deletions

View file

@ -31,22 +31,22 @@
%label.batch-table__toolbar__select.batch-checkbox-all
= check_box_tag :batch_checkbox_all, nil, false
.batch-table__toolbar__actions
= f.button safe_join([fa_icon('check'), t('admin.trends.statuses.allow')]),
= f.button safe_join([material_symbol('check'), t('admin.trends.statuses.allow')]),
class: 'table-action-link',
data: { confirm: t('admin.reports.are_you_sure') },
name: :approve,
type: :submit
= f.button safe_join([fa_icon('check'), t('admin.trends.statuses.allow_account')]),
= f.button safe_join([material_symbol('check'), t('admin.trends.statuses.allow_account')]),
class: 'table-action-link',
data: { confirm: t('admin.reports.are_you_sure') },
name: :approve_accounts,
type: :submit
= f.button safe_join([fa_icon('times'), t('admin.trends.statuses.disallow')]),
= f.button safe_join([material_symbol('close'), t('admin.trends.statuses.disallow')]),
class: 'table-action-link',
data: { confirm: t('admin.reports.are_you_sure') },
name: :reject,
type: :submit
= f.button safe_join([fa_icon('times'), t('admin.trends.statuses.disallow_account')]),
= f.button safe_join([material_symbol('close'), t('admin.trends.statuses.disallow_account')]),
class: 'table-action-link',
data: { confirm: t('admin.reports.are_you_sure') },
name: :reject_accounts,