moviewyrm/bookwyrm/templates/feed/thread.html

23 lines
647 B
HTML
Raw Normal View History

2021-05-11 22:14:42 +00:00
{% load status_display %}
2020-09-29 22:05:50 +00:00
<div class="block">
{% with depth=depth|add:1 %}
{% if depth <= max_depth and status.reply_parent and direction <= 0 %}
{% with direction=-1 %}
{% include 'feed/thread.html' with status=status|parent is_root=False %}
{% endwith %}
{% endif %}
2021-02-23 21:34:16 +00:00
{% include 'snippets/status/status.html' with status=status main=is_root %}
{% if depth <= max_depth and direction >= 0 %}
{% for reply in status|replies %}
{% with direction=1 %}
{% include 'feed/thread.html' with status=reply is_root=False %}
{% endwith %}
{% endfor %}
{% endif %}
{% endwith %}
2020-09-29 22:05:50 +00:00
</div>