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
|
|
@ -16,7 +16,7 @@
|
|||
%strong.emojify.p-name= display_name(report.target_account, custom_emojify: true)
|
||||
%span
|
||||
= acct(report.target_account)
|
||||
= fa_icon('lock') if report.target_account.locked?
|
||||
= material_symbol('lock') if report.target_account.locked?
|
||||
- if report.target_account.note.present?
|
||||
.account-card__bio.emojify
|
||||
= prerender_custom_emojis(account_bio_format(report.target_account), report.target_account.emojis)
|
||||
|
|
|
|||
|
|
@ -37,5 +37,5 @@
|
|||
= t("statuses.visibilities.#{status.visibility}")
|
||||
- if status.proper.sensitive?
|
||||
·
|
||||
= fa_icon('eye-slash fw')
|
||||
= material_symbol('visibility_off')
|
||||
= t('stream_entries.sensitive_content')
|
||||
|
|
|
|||
|
|
@ -58,7 +58,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
|
||||
.strike-card__statuses-list__item__meta
|
||||
= link_to ActivityPub::TagManager.instance.url_for(status), target: '_blank', rel: 'noopener noreferrer' do
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@
|
|||
%p
|
||||
= t 'admin.reports.statuses_description_html'
|
||||
—
|
||||
= link_to safe_join([fa_icon('plus'), t('admin.reports.add_to_report')]),
|
||||
= link_to safe_join([material_symbol('add'), t('admin.reports.add_to_report')]),
|
||||
admin_account_statuses_path(@report.target_account_id, report_id: @report.id),
|
||||
class: 'table-action-link'
|
||||
|
||||
|
|
@ -52,7 +52,7 @@
|
|||
= check_box_tag :batch_checkbox_all, nil, false
|
||||
.batch-table__toolbar__actions
|
||||
- if !@statuses.empty? && @report.unresolved?
|
||||
= f.button safe_join([fa_icon('times'), t('admin.statuses.batch.remove_from_report')]), name: :remove_from_report, class: 'table-action-link', type: :submit
|
||||
= f.button safe_join([material_symbol('close'), t('admin.statuses.batch.remove_from_report')]), name: :remove_from_report, class: 'table-action-link', type: :submit
|
||||
.batch-table__body
|
||||
- if @statuses.empty?
|
||||
= nothing_here 'nothing-here--under-tabs'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue