From b3e0eefba424f42b906369773597fdd108a62458 Mon Sep 17 00:00:00 2001 From: Jason McBrayer Date: Tue, 24 Apr 2018 08:22:03 -0400 Subject: [PATCH] Add CWs to toots in timeline --- brutaldon/templates/main/timeline.html | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/brutaldon/templates/main/timeline.html b/brutaldon/templates/main/timeline.html index f1fc4f6..67500e2 100644 --- a/brutaldon/templates/main/timeline.html +++ b/brutaldon/templates/main/timeline.html @@ -22,9 +22,16 @@ {{ toot.account.display_name }} @{{ toot.account.username }} {{ toot.created_at |naturaltime }} -
- {{ toot.content | safe }}

+ {% if toot.spoiler_text %} +

+ {{ toot.spoiler_text }} +

+ {% endif %} +
+ {{ toot.content | safe }} +
+ {% if toot.media_attachments %}
@@ -42,6 +49,7 @@
{% endif %} +