Instead of using spoiler boolean and spoiler_text, simply check for non-blank spoiler_text
Federate spoiler_text using warning attribute on <content /> instead of a <category term="spoiler" /> Clean up schema file from accidental development migrations
This commit is contained in:
parent
f8da0dd490
commit
999cde94a6
23 changed files with 159 additions and 173 deletions
|
@ -12,7 +12,10 @@
|
|||
%strong.p-name.emojify= display_name(status.account)
|
||||
%span.p-nickname= acct(status.account)
|
||||
|
||||
.status__content.e-content.p-name.emojify= Formatter.instance.format(status)
|
||||
.status__content.e-content.p-name.emojify<
|
||||
- unless status.spoiler_text.blank?
|
||||
%p= status.spoiler_text
|
||||
= Formatter.instance.format(status)
|
||||
|
||||
- unless status.media_attachments.empty?
|
||||
.status__attachments
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue