From c883893dd6e3ab4d415158df0eb1c500626970cb Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Fri, 6 Nov 2020 12:09:14 -0800 Subject: [PATCH] Slightly less messy boost status header --- bookwyrm/templates/snippets/status.html | 26 +++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/bookwyrm/templates/snippets/status.html b/bookwyrm/templates/snippets/status.html index 9390d39c..45c12dce 100644 --- a/bookwyrm/templates/snippets/status.html +++ b/bookwyrm/templates/snippets/status.html @@ -5,18 +5,20 @@
-

- {% if status.status_type == 'Boost' %} - {% include 'snippets/avatar.html' with user=status.user %} - {% include 'snippets/username.html' with user=status.user %} - boosted -

-

- {% include 'snippets/status_header.html' with status=status|boosted_status %} - {% else %} - {% include 'snippets/status_header.html' with status=status %} - {% endif %} -

+
+
+ {% if status.status_type == 'Boost' %} + {% include 'snippets/avatar.html' with user=status.user %} + {% include 'snippets/username.html' with user=status.user %} + boosted +
+
+ {% include 'snippets/status_header.html' with status=status|boosted_status %} + {% else %} + {% include 'snippets/status_header.html' with status=status %} + {% endif %} +
+