1
0
Fork 0

Shwo book preview with rating status

This commit is contained in:
Mouse Reeve 2020-04-04 10:38:26 -07:00
parent 6ff1906a0b
commit 88c3a9fbe8
2 changed files with 6 additions and 13 deletions

View file

@ -1,15 +1,5 @@
{% load fr_display %}
{% 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 %}
<div class="post {{ status.status_type | lower }} depth-{{ depth }} {% if main %}main{% else %}reply{% endif %}">
<h2>
@ -32,4 +22,3 @@
{% include 'snippets/interaction.html' with activity=status %}
{% endif %}
{% endif %}