2020-03-10 00:03:59 +00:00
|
|
|
{% load fr_display %}
|
2020-04-01 21:55:32 +00:00
|
|
|
|
2020-04-03 19:43:49 +00:00
|
|
|
{% if status.status_type == 'Review' and not status.name or not status.content %}
|
|
|
|
<div class="post rating">
|
|
|
|
<h2>
|
|
|
|
{% include 'snippets/status_header.html' with status=status %}
|
|
|
|
{% include 'snippets/stars.html' with book=book rating=status.rating %}
|
|
|
|
</h2>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{% else %}
|
|
|
|
|
2020-04-01 21:55:32 +00:00
|
|
|
<div class="post {{ status.status_type | lower }} depth-{{ depth }} {% if main %}main{% else %}reply{% endif %}">
|
|
|
|
|
2020-03-15 21:15:36 +00:00
|
|
|
<h2>
|
2020-04-01 21:55:32 +00:00
|
|
|
{% if status.boosted_status %}
|
|
|
|
{% include 'snippets/status_header.html' with status=status.boosted_status %}
|
|
|
|
<small class="subhead">{% include 'snippets/status_header.html' with status=status %}</small>
|
|
|
|
{% else %}
|
|
|
|
{% include 'snippets/status_header.html' with status=status %}
|
|
|
|
{% endif %}
|
2020-03-15 21:15:36 +00:00
|
|
|
</h2>
|
|
|
|
|
2020-04-02 02:38:07 +00:00
|
|
|
<div class="status-content">
|
|
|
|
{% include 'snippets/status_content.html' with status=status %}
|
|
|
|
</div>
|
2020-04-01 21:32:56 +00:00
|
|
|
|
2020-03-10 00:03:59 +00:00
|
|
|
</div>
|
2020-04-01 21:55:32 +00:00
|
|
|
{% if status.status_type == 'Boost' %}
|
|
|
|
{% include 'snippets/interaction.html' with activity=status|boosted_status %}
|
|
|
|
{% else %}
|
2020-03-15 21:15:36 +00:00
|
|
|
{% include 'snippets/interaction.html' with activity=status %}
|
2020-03-30 15:31:31 +00:00
|
|
|
{% endif %}
|
2020-03-10 00:03:59 +00:00
|
|
|
|
2020-04-03 19:43:49 +00:00
|
|
|
{% endif %}
|