|
|
|
@ -1,8 +1,14 @@
|
|
|
|
.status__content><
|
|
|
|
.status__content><
|
|
|
|
- if status.spoiler_text.present?
|
|
|
|
- if status.spoiler_text.present?
|
|
|
|
%details<
|
|
|
|
%details<
|
|
|
|
%summary><
|
|
|
|
%summary{
|
|
|
|
%strong> Content warning: #{prerender_custom_emojis(h(status.spoiler_text), status.emojis)}
|
|
|
|
data: {
|
|
|
|
|
|
|
|
show: t('statuses.content_warnings.show'),
|
|
|
|
|
|
|
|
hide: t('statuses.content_warnings.hide'),
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}><
|
|
|
|
|
|
|
|
%strong>
|
|
|
|
|
|
|
|
= prerender_custom_emojis(h(status.spoiler_text), status.emojis)
|
|
|
|
= prerender_custom_emojis(status_content_format(status), status.emojis)
|
|
|
|
= prerender_custom_emojis(status_content_format(status), status.emojis)
|
|
|
|
= render partial: 'admin/shared/status_attachments', locals: { status: status.proper }
|
|
|
|
= render partial: 'admin/shared/status_attachments', locals: { status: status.proper }
|
|
|
|
- else
|
|
|
|
- else
|
|
|
|
|