Don't show "None" in book description

This commit is contained in:
Mouse Reeve 2020-11-01 12:09:39 -08:00
parent a2692f92d2
commit 65371d6904

View file

@ -1,5 +1,6 @@
{% load fr_display %}
{% with book|book_description as full %}
{% if full %}
{% with full|text_overflow as trimmed %}
{% if trimmed != full %}
<div>
@ -17,4 +18,5 @@
</blockquote>
{% endif %}
{% endwith %}
{% endif %}
{% endwith %}