Add material design icons to admin/settings views (#27780)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
parent
a2399046ca
commit
32ead51e5a
33 changed files with 79 additions and 60 deletions
|
|
@ -24,7 +24,7 @@
|
|||
.back-link
|
||||
= link_to admin_trends_links_preview_card_providers_path do
|
||||
= t('admin.trends.preview_card_providers.title')
|
||||
= fa_icon 'chevron-right fw'
|
||||
= material_symbol 'chevron_right'
|
||||
|
||||
= form_for(@form, url: batch_admin_trends_links_path) do |f|
|
||||
= hidden_field_tag :page, params[:page] || 1
|
||||
|
|
@ -37,22 +37,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.links.allow')]),
|
||||
= f.button safe_join([material_symbol('check'), t('admin.trends.links.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.links.allow_provider')]),
|
||||
= f.button safe_join([material_symbol('check'), t('admin.trends.links.allow_provider')]),
|
||||
class: 'table-action-link',
|
||||
data: { confirm: t('admin.reports.are_you_sure') },
|
||||
name: :approve_providers,
|
||||
type: :submit
|
||||
= f.button safe_join([fa_icon('times'), t('admin.trends.links.disallow')]),
|
||||
= f.button safe_join([material_symbol('close'), t('admin.trends.links.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.links.disallow_provider')]),
|
||||
= f.button safe_join([material_symbol('close'), t('admin.trends.links.disallow_provider')]),
|
||||
class: 'table-action-link',
|
||||
data: { confirm: t('admin.reports.are_you_sure') },
|
||||
name: :reject_providers,
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
%li= filter_link_to safe_join([t('admin.accounts.moderation.pending'), "(#{PreviewCardProvider.pending_review.count})"], ' '), status: 'pending_review'
|
||||
.back-link
|
||||
= link_to admin_trends_links_path do
|
||||
= fa_icon 'chevron-left fw'
|
||||
= material_symbol 'chevron_left'
|
||||
= t('admin.trends.links.title')
|
||||
|
||||
%hr.spacer/
|
||||
|
|
@ -31,12 +31,12 @@
|
|||
%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.allow')]),
|
||||
= f.button safe_join([material_symbol('check'), t('admin.trends.allow')]),
|
||||
class: 'table-action-link',
|
||||
data: { confirm: t('admin.reports.are_you_sure') },
|
||||
name: :approve,
|
||||
type: :submit
|
||||
= f.button safe_join([fa_icon('times'), t('admin.trends.disallow')]),
|
||||
= f.button safe_join([material_symbol('close'), t('admin.trends.disallow')]),
|
||||
class: 'table-action-link',
|
||||
data: { confirm: t('admin.reports.are_you_sure') },
|
||||
name: :reject,
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
- status.ordered_media_attachments.each do |media_attachment|
|
||||
%abbr{ title: media_attachment.description }
|
||||
= fa_icon 'link'
|
||||
= material_symbol 'link'
|
||||
= media_attachment.file_file_name
|
||||
|
||||
= t 'admin.trends.statuses.shared_by',
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
.batch-table__row__content.pending-account
|
||||
.pending-account__header
|
||||
= link_to admin_tag_path(tag.id) do
|
||||
= fa_icon 'hashtag'
|
||||
= material_symbol 'tag'
|
||||
= tag.display_name
|
||||
|
||||
%br/
|
||||
|
|
|
|||
|
|
@ -25,12 +25,12 @@
|
|||
%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.allow')]),
|
||||
= f.button safe_join([material_symbol('check'), t('admin.trends.allow')]),
|
||||
class: 'table-action-link',
|
||||
data: { confirm: t('admin.reports.are_you_sure') },
|
||||
name: :approve,
|
||||
type: :submit
|
||||
= f.button safe_join([fa_icon('times'), t('admin.trends.disallow')]),
|
||||
= f.button safe_join([material_symbol('close'), t('admin.trends.disallow')]),
|
||||
class: 'table-action-link',
|
||||
data: { confirm: t('admin.reports.are_you_sure') },
|
||||
name: :reject,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue