From 5e2429f415a0a0db2d6b4ba5846ee0de74041dd4 Mon Sep 17 00:00:00 2001 From: mummified-corroding-granny Date: Sun, 12 Feb 2023 23:41:12 +0000 Subject: [PATCH] changed display to inline block in more comment meta elements --- files/templates/comments.html | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/files/templates/comments.html b/files/templates/comments.html index 7ea66099b..761305c23 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -193,25 +193,31 @@ {% endif %} {% if c.notif_utc %} -  {{c.age_string}} +  {{c.age_string}} {% elif c.created_utc %} -  {{c.age_string}} +  {{c.age_string}} {% endif %} {% if c.edited_utc %} - · Edited {{c.edited_string}} + · Edited {{c.edited_string}} {% endif %} {% if c.treasure_amount and c.treasure_amount != '0' %} {% if c.treasure_amount.startswith('l') %} - treasure - Found {{c.treasure_amount.replace('l', '')}} Lottershe Tickets! + + treasure + Found {{c.treasure_amount.replace('l', '')}} Lottershe Tickets! + {% elif '-' in c.treasure_amount %} - treasure - A Mimic Ate {{c.treasure_amount.replace('-', '')}} Coins! + + treasure + A Mimic Ate {{c.treasure_amount.replace('-', '')}} Coins! + {% else %} - treasure - Found {{c.treasure_amount}} Coins! + + treasure + Found {{c.treasure_amount}} Coins! + {% endif %} {% endif %} -- 2.34.1