From fb884de7976e0ae3a37c09007bc997d251b30c82 Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Sat, 9 Jul 2022 08:32:17 +0200 Subject: [PATCH] More design tweaks --- app/templates/object.html | 2 +- app/templates/utils.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/templates/object.html b/app/templates/object.html index 9f902f0..1d3a3f2 100644 --- a/app/templates/object.html +++ b/app/templates/object.html @@ -21,7 +21,7 @@ {% macro display_replies_tree(replies_tree_node) %} {% if replies_tree_node.is_requested %} - {{ utils.display_object(replies_tree_node.ap_object, likes=likes, shares=shares, expanded=True) }} + {{ utils.display_object(replies_tree_node.ap_object, likes=likes, shares=shares, expanded=not replies_tree_node.is_root) }} {% else %} {{ utils.display_object(replies_tree_node.ap_object) }} {% endif %} diff --git a/app/templates/utils.html b/app/templates/utils.html index e08676d..77f36c5 100644 --- a/app/templates/utils.html +++ b/app/templates/utils.html @@ -443,7 +443,7 @@ {% if likes or shares %} -
+
{% if likes %}
Likes