mirror of https://github.com/Siphonay/mastodon
Use material symbol for filters/statuses views (#31371)
This commit is contained in:
parent
71405eabfc
commit
3be1b1eaae
|
@ -24,7 +24,7 @@
|
|||
.emojify= one_line_preview(status)
|
||||
- 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
|
||||
|
|
|
@ -15,7 +15,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
|
||||
|
||||
.detailed-status__meta
|
||||
|
@ -33,5 +33,5 @@
|
|||
= t("statuses.visibilities.#{status.visibility}")
|
||||
- if status.sensitive?
|
||||
·
|
||||
= fa_icon('eye-slash fw')
|
||||
= material_symbol 'visibility_off'
|
||||
= t('stream_entries.sensitive_content')
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
.filters
|
||||
.back-link
|
||||
= link_to edit_filter_path(@filter) do
|
||||
= fa_icon 'chevron-left fw'
|
||||
= material_symbol 'chevron_left'
|
||||
= t('filters.statuses.back_to_filter')
|
||||
|
||||
%p.hint= t('filters.statuses.index.hint')
|
||||
|
@ -25,7 +25,7 @@
|
|||
= check_box_tag :batch_checkbox_all, nil, false
|
||||
.batch-table__toolbar__actions
|
||||
- unless @status_filters.empty?
|
||||
= f.button safe_join([fa_icon('times'), t('filters.statuses.batch.remove')]), name: :remove, class: 'table-action-link', type: :submit
|
||||
= f.button safe_join([material_symbol('close'), t('filters.statuses.batch.remove')]), name: :remove, class: 'table-action-link', type: :submit
|
||||
.batch-table__body
|
||||
- if @status_filters.empty?
|
||||
= nothing_here 'nothing-here--under-tabs'
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
.attachment-list
|
||||
.attachment-list__icon
|
||||
= fa_icon 'link'
|
||||
= material_symbol 'link'
|
||||
%ul.attachment-list__list
|
||||
- attachments.each do |media|
|
||||
%li
|
||||
|
|
Loading…
Reference in New Issue