mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-12-20 20:27:07 +00:00
f8ca3bb2a1
* Add ability to view previous edits of a status in admin UI * Change moderator access to posts to be controlled by a separate policy
21 lines
823 B
Plaintext
21 lines
823 B
Plaintext
.status
|
|
.status__content><
|
|
- if status_edit.spoiler_text.blank?
|
|
= prerender_custom_emojis(status_content_format(status_edit), status_edit.emojis)
|
|
- else
|
|
%details<
|
|
%summary><
|
|
%strong> Content warning: #{prerender_custom_emojis(h(status_edit.spoiler_text), status_edit.emojis)}
|
|
= prerender_custom_emojis(status_content_format(status_edit), status_edit.emojis)
|
|
|
|
- unless status_edit.ordered_media_attachments.empty?
|
|
= render partial: 'admin/reports/media_attachments', locals: { status: status_edit }
|
|
|
|
.detailed-status__meta
|
|
%time.formatted{ datetime: status_edit.created_at.iso8601, title: l(status_edit.created_at) }= l(status_edit.created_at)
|
|
|
|
- if status_edit.sensitive?
|
|
·
|
|
= fa_icon('eye-slash fw')
|
|
= t('stream_entries.sensitive_content')
|