From e773511726517a440088f31f06d0b484413c4598 Mon Sep 17 00:00:00 2001 From: Jason McBrayer Date: Thu, 26 Apr 2018 19:46:05 -0400 Subject: [PATCH] Fix formatting on Lynx --- brutaldon/templates/main/notifications.html | 8 ++++++-- brutaldon/templates/main/thread.html | 3 +++ brutaldon/templates/main/toot_partial.html | 1 + 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/brutaldon/templates/main/notifications.html b/brutaldon/templates/main/notifications.html index e45bcc4..51a5a63 100644 --- a/brutaldon/templates/main/notifications.html +++ b/brutaldon/templates/main/notifications.html @@ -32,6 +32,7 @@
{% include "main/toot_partial.html" with toot=note.status reblog=False %} + {% elif note.type == 'reblog' %}

@@ -39,11 +40,12 @@ ({{ note.account.acct }}) boosted your toot. ( - {{ note.created_at |naturaltime }} + {{ note.created_at |naturaltime }} )

{% include "main/toot_partial.html" with toot=note.status reblog=True reblog_by=note.account.acct reblog_icon=note.account.avatar %}
+ {% elif note.type == 'favourite' %}
{% include "main/toot_partial.html" with toot=note.status reblog=False %} + {% elif note.type == 'follow' %}
@@ -83,6 +86,7 @@
+ {% endif %} {% endfor %} diff --git a/brutaldon/templates/main/thread.html b/brutaldon/templates/main/thread.html index ce43c43..c37fac4 100644 --- a/brutaldon/templates/main/thread.html +++ b/brutaldon/templates/main/thread.html @@ -20,14 +20,17 @@ mastodon.status_context()
{% include "main/toot_partial.html" with toot=ancestor %}
+ {% endfor %}
{% include "main/toot_partial.html" with toot=toot %}
+ {% for descendant in context.descendants %}
{% include "main/toot_partial.html" with toot=descendant %}
+ {% endfor %} diff --git a/brutaldon/templates/main/toot_partial.html b/brutaldon/templates/main/toot_partial.html index 1ff7151..7a7b01b 100644 --- a/brutaldon/templates/main/toot_partial.html +++ b/brutaldon/templates/main/toot_partial.html @@ -59,6 +59,7 @@ {% endif %}
+