diff --git a/bookwyrm/templates/snippets/status.html b/bookwyrm/templates/snippets/status.html index d83c8693..00565b3f 100644 --- a/bookwyrm/templates/snippets/status.html +++ b/bookwyrm/templates/snippets/status.html @@ -1,7 +1,7 @@ {% load humanize %} {% load fr_display %} -
+
{% include 'snippets/status_header.html' with status=status %}
diff --git a/bookwyrm/templates/snippets/thread.html b/bookwyrm/templates/snippets/thread.html index 34da43df..ae42c51a 100644 --- a/bookwyrm/templates/snippets/thread.html +++ b/bookwyrm/templates/snippets/thread.html @@ -1,4 +1,6 @@ {% load fr_display %} +
+ {% with depth=depth|add:1 %} {% if depth <= max_depth and status.reply_parent and direction <= 0 %} {% with direction=-1 %} @@ -16,3 +18,5 @@ {% endfor %} {% endif %} {% endwith %} + +
diff --git a/bookwyrm/templates/status.html b/bookwyrm/templates/status.html index 3221b5cd..d38ed89e 100644 --- a/bookwyrm/templates/status.html +++ b/bookwyrm/templates/status.html @@ -1,10 +1,8 @@ {% extends 'layout.html' %} {% block content %} -
-
- {% include 'snippets/thread.html' with status=status depth=0 max_depth=6 is_root=True direction=0 %} -
+
+ {% include 'snippets/thread.html' with status=status depth=0 max_depth=6 is_root=True direction=0 %}
{% endblock %}