Merge pull request #571 from mouse-reeve/tempalte-bug

Fixes incorrect template path in threaded status page
This commit is contained in:
Mouse Reeve 2021-01-30 11:50:47 -08:00 committed by GitHub
commit 38e7eb8c14
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,7 +4,7 @@
{% with depth=depth|add:1 %} {% with depth=depth|add:1 %}
{% if depth <= max_depth and status.reply_parent and direction <= 0 %} {% if depth <= max_depth and status.reply_parent and direction <= 0 %}
{% with direction=-1 %} {% with direction=-1 %}
{% include 'snippets/thread.html' with status=status|parent is_root=False %} {% include 'feed/thread.html' with status=status|parent is_root=False %}
{% endwith %} {% endwith %}
{% endif %} {% endif %}
@ -13,7 +13,7 @@
{% if depth <= max_depth and direction >= 0 %} {% if depth <= max_depth and direction >= 0 %}
{% for reply in status|replies %} {% for reply in status|replies %}
{% with direction=1 %} {% with direction=1 %}
{% include 'snippets/thread.html' with status=reply is_root=False %} {% include 'feed/thread.html' with status=reply is_root=False %}
{% endwith %} {% endwith %}
{% endfor %} {% endfor %}
{% endif %} {% endif %}