2020-12-13 02:25:04 +00:00
|
|
|
{% load bookwyrm_tags %}
|
2020-09-29 22:05:50 +00:00
|
|
|
<div class="block">
|
|
|
|
|
2020-03-10 00:03:59 +00:00
|
|
|
{% with depth=depth|add:1 %}
|
|
|
|
{% if depth <= max_depth and status.reply_parent and direction <= 0 %}
|
|
|
|
{% with direction=-1 %}
|
2021-01-30 19:46:15 +00:00
|
|
|
{% include 'feed/thread.html' with status=status|parent is_root=False %}
|
2020-03-10 00:03:59 +00:00
|
|
|
{% endwith %}
|
|
|
|
{% endif %}
|
|
|
|
|
2021-02-23 21:34:16 +00:00
|
|
|
{% include 'snippets/status/status.html' with status=status main=is_root %}
|
2020-03-10 00:03:59 +00:00
|
|
|
|
|
|
|
{% if depth <= max_depth and direction >= 0 %}
|
|
|
|
{% for reply in status|replies %}
|
|
|
|
{% with direction=1 %}
|
2021-01-30 19:46:15 +00:00
|
|
|
{% include 'feed/thread.html' with status=reply is_root=False %}
|
2020-03-10 00:03:59 +00:00
|
|
|
{% endwith %}
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
|
|
|
{% endwith %}
|
2020-09-29 22:05:50 +00:00
|
|
|
|
|
|
|
</div>
|