mirror of
https://github.com/glitch-soc/mastodon.git
synced 2026-03-29 03:00:33 +02:00
23 lines
973 B
Plaintext
23 lines
973 B
Plaintext
.status__card
|
|
- if collection.tag.present?
|
|
.status__prepend
|
|
= link_to collection.tag.formatted_name, admin_tag_path(collection.tag_id)
|
|
|
|
.status__content
|
|
%h6= collection.name
|
|
|
|
%p= collection.description
|
|
|
|
.detailed-status__meta
|
|
= conditional_link_to can?(:show, collection), admin_account_collection_path(collection.account.id, collection), class: 'detailed-status__datetime' do
|
|
%time.formatted{ datetime: collection.created_at.iso8601, title: l(collection.created_at) }><= l(collection.created_at)
|
|
- if collection.sensitive?
|
|
·
|
|
= material_symbol('visibility_off')
|
|
= t('stream_entries.sensitive_content')
|
|
·
|
|
= t('admin.collections.number_of_accounts', count: collection.accepted_collection_items.size)
|
|
·
|
|
= link_to account_collection_path(collection.account, collection), class: 'detailed-status__link', target: 'blank', rel: 'noopener' do
|
|
= t('admin.collections.view_publicly')
|