Use material symbol for filters/statuses views (#31371)
parent
71405eabfc
commit
3be1b1eaae
|
@ -24,7 +24,7 @@
|
||||||
.emojify= one_line_preview(status)
|
.emojify= one_line_preview(status)
|
||||||
- status.ordered_media_attachments.each do |media_attachment|
|
- status.ordered_media_attachments.each do |media_attachment|
|
||||||
%abbr{ title: media_attachment.description }
|
%abbr{ title: media_attachment.description }
|
||||||
= fa_icon 'link'
|
= material_symbol 'link'
|
||||||
= media_attachment.file_file_name
|
= media_attachment.file_file_name
|
||||||
.strike-card__statuses-list__item__meta
|
.strike-card__statuses-list__item__meta
|
||||||
= link_to ActivityPub::TagManager.instance.url_for(status), target: '_blank', rel: 'noopener noreferrer' do
|
= 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|
|
- status.ordered_media_attachments.each do |media_attachment|
|
||||||
%abbr{ title: media_attachment.description }
|
%abbr{ title: media_attachment.description }
|
||||||
= fa_icon 'link'
|
= material_symbol 'link'
|
||||||
= media_attachment.file_file_name
|
= media_attachment.file_file_name
|
||||||
|
|
||||||
.detailed-status__meta
|
.detailed-status__meta
|
||||||
|
@ -33,5 +33,5 @@
|
||||||
= t("statuses.visibilities.#{status.visibility}")
|
= t("statuses.visibilities.#{status.visibility}")
|
||||||
- if status.sensitive?
|
- if status.sensitive?
|
||||||
·
|
·
|
||||||
= fa_icon('eye-slash fw')
|
= material_symbol 'visibility_off'
|
||||||
= t('stream_entries.sensitive_content')
|
= t('stream_entries.sensitive_content')
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
.filters
|
.filters
|
||||||
.back-link
|
.back-link
|
||||||
= link_to edit_filter_path(@filter) do
|
= link_to edit_filter_path(@filter) do
|
||||||
= fa_icon 'chevron-left fw'
|
= material_symbol 'chevron_left'
|
||||||
= t('filters.statuses.back_to_filter')
|
= t('filters.statuses.back_to_filter')
|
||||||
|
|
||||||
%p.hint= t('filters.statuses.index.hint')
|
%p.hint= t('filters.statuses.index.hint')
|
||||||
|
@ -25,7 +25,7 @@
|
||||||
= check_box_tag :batch_checkbox_all, nil, false
|
= check_box_tag :batch_checkbox_all, nil, false
|
||||||
.batch-table__toolbar__actions
|
.batch-table__toolbar__actions
|
||||||
- unless @status_filters.empty?
|
- 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
|
.batch-table__body
|
||||||
- if @status_filters.empty?
|
- if @status_filters.empty?
|
||||||
= nothing_here 'nothing-here--under-tabs'
|
= nothing_here 'nothing-here--under-tabs'
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
.attachment-list
|
.attachment-list
|
||||||
.attachment-list__icon
|
.attachment-list__icon
|
||||||
= fa_icon 'link'
|
= material_symbol 'link'
|
||||||
%ul.attachment-list__list
|
%ul.attachment-list__list
|
||||||
- attachments.each do |media|
|
- attachments.each do |media|
|
||||||
%li
|
%li
|
||||||
|
|
Loading…
Reference in New Issue