1
0
Fork 0

Collapse long review text

This commit is contained in:
Mouse Reeve 2020-11-12 11:40:20 -08:00
parent ad948e7313
commit 23ef1e8b7d
6 changed files with 35 additions and 30 deletions

View file

@ -55,7 +55,7 @@
<div class="block">
<h3 class="field is-grouped">{% include 'snippets/stars.html' with rating=rating %} ({{ reviews|length }} review{{ reviews|length|pluralize }})</h3>
{% include 'snippets/book_description.html' %}
{% include 'snippets/trimmed_text.html' with full=book|book_description %}
{% if book.parent_work.edition_set.count > 1 %}
<p><a href="/book/{{ book.parent_work.id }}/editions">{{ book.parent_work.edition_set.count }} editions</a></p>