diff --git a/bookwyrm/templates/snippets/create_status/comment.html b/bookwyrm/templates/snippets/create_status/comment.html index 65b322699..1186cc71c 100644 --- a/bookwyrm/templates/snippets/create_status/comment.html +++ b/bookwyrm/templates/snippets/create_status/comment.html @@ -19,9 +19,9 @@ uuid: a unique identifier used to make html "id" attributes unique and clarify j {# Supplemental fields #}
{% active_shelf book as active_shelf %} - {% if active_shelf.shelf.identifier == 'reading' and book.latest_readthrough %} - + {% if active_shelf.shelf.identifier == 'reading' %} {% with readthrough=book.latest_readthrough %} + {% if readthrough %}
@@ -66,6 +66,7 @@ uuid: a unique identifier used to make html "id" attributes unique and clarify j

{% blocktrans with pages=book.pages %}of {{ pages }} pages{% endblocktrans %}

{% endif %}
+ {% endif %} {% endwith %} {% endif %}