2021-07-28 20:21:42 +00:00
|
|
|
{% extends 'feed/layout.html' %}
|
2021-02-28 02:48:10 +00:00
|
|
|
{% load i18n %}
|
2021-10-03 02:22:21 +00:00
|
|
|
{% load bookwyrm_tags %}
|
2021-02-28 18:00:36 +00:00
|
|
|
|
2021-12-03 17:58:14 +00:00
|
|
|
{% block opengraph_images %}
|
|
|
|
|
|
|
|
{% firstof status.book status.mention_books.first as book %}
|
|
|
|
{% if book %}
|
|
|
|
{% include 'snippets/opengraph_images.html' with image=preview %}
|
|
|
|
{% else %}
|
|
|
|
{% include 'snippets/opengraph_images.html' %}
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
2021-01-29 18:25:31 +00:00
|
|
|
{% block panel %}
|
|
|
|
<header class="block">
|
|
|
|
<a href="/#feed" class="button" data-back>
|
2021-03-07 12:18:10 +00:00
|
|
|
<span class="icon icon-arrow-left" aria-hidden="true"></span>
|
2021-02-28 02:48:10 +00:00
|
|
|
<span>{% trans "Back" %}</span>
|
2021-01-29 18:25:31 +00:00
|
|
|
</a>
|
|
|
|
</header>
|
|
|
|
|
2021-10-02 22:20:35 +00:00
|
|
|
<div class="thread-parent is-relative block">
|
|
|
|
<div class="thread">
|
2021-10-03 01:24:54 +00:00
|
|
|
{% for parent in ancestors %}
|
2021-10-03 02:22:21 +00:00
|
|
|
{% if parent.id %}
|
2021-10-03 01:24:54 +00:00
|
|
|
<div class="block">
|
2021-10-03 02:22:21 +00:00
|
|
|
{% include 'snippets/status/status.html' with status=parent|load_subclass %}
|
2021-10-03 01:24:54 +00:00
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
2021-12-29 18:20:54 +00:00
|
|
|
<div class="is-main block">
|
2021-10-02 22:20:35 +00:00
|
|
|
{% include 'snippets/status/status.html' with status=status main=True %}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{% for child in children %}
|
|
|
|
<div class="block">
|
|
|
|
{% include 'snippets/status/status.html' with status=child %}
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-01-29 18:25:31 +00:00
|
|
|
|
|
|
|
{% endblock %}
|
|
|
|
|