From ae809cc46d57206483ef8ac2c31ded10c834d0b9 Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Sat, 7 Sep 2019 10:35:28 +0200 Subject: [PATCH] Tweak note rendering --- templates/utils.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/templates/utils.html b/templates/utils.html index 26a392c..99a2ea4 100644 --- a/templates/utils.html +++ b/templates/utils.html @@ -246,7 +246,8 @@ self reply
{% if perma %} -{{ obj.published | format_time }} + + {% endif %} {% if meta.count_reply and obj.id | is_from_outbox %}{{ meta.count_reply }} replies @@ -349,7 +350,9 @@ self reply {% if meta.object_visibility | visibility_is_public %} {% if obj | url_or_id | get_url | is_from_outbox %} -permalink +{% if not perma %} +permalink +{% endif %} {% else %} source {% if session.logged_in %} @@ -357,9 +360,7 @@ self reply {% endif %} {% endif %} {% endif %} -{% if session.logged_in %} {{ meta.object_visibility | visibility }} -{% endif %}