2024-03-19 16:11:10 +00:00
|
|
|
%li
|
|
|
|
.history__entry
|
|
|
|
%h5
|
|
|
|
- if status_edit_iteration.first?
|
|
|
|
= t('admin.statuses.original_status')
|
|
|
|
- else
|
|
|
|
= t('admin.statuses.status_changed')
|
|
|
|
·
|
|
|
|
%time.formatted{ datetime: status_edit.created_at.iso8601, title: l(status_edit.created_at) }= l(status_edit.created_at)
|
2022-10-26 12:42:29 +01:00
|
|
|
|
2024-03-19 16:11:10 +00:00
|
|
|
.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)
|
2022-10-26 12:42:29 +01:00
|
|
|
|
2024-03-19 16:11:10 +00:00
|
|
|
- unless status_edit.ordered_media_attachments.empty?
|
|
|
|
= render partial: 'admin/reports/media_attachments', locals: { status: status_edit }
|
2022-10-26 12:42:29 +01:00
|
|
|
|
2024-03-19 16:11:10 +00:00
|
|
|
.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?
|
|
|
|
·
|
2024-04-23 17:43:49 +01:00
|
|
|
= material_symbol('visibility_off')
|
2024-03-19 16:11:10 +00:00
|
|
|
= t('stream_entries.sensitive_content')
|