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