mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-20 15:17:06 +00:00
Don't show "None" in book description
This commit is contained in:
parent
a2692f92d2
commit
65371d6904
1 changed files with 2 additions and 0 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Reference in a new issue