Don't show "None" in book description
This commit is contained in:
parent
a2692f92d2
commit
65371d6904
@ -1,5 +1,6 @@
|
|||||||
{% load fr_display %}
|
{% load fr_display %}
|
||||||
{% with book|book_description as full %}
|
{% with book|book_description as full %}
|
||||||
|
{% if full %}
|
||||||
{% with full|text_overflow as trimmed %}
|
{% with full|text_overflow as trimmed %}
|
||||||
{% if trimmed != full %}
|
{% if trimmed != full %}
|
||||||
<div>
|
<div>
|
||||||
@ -17,4 +18,5 @@
|
|||||||
</blockquote>
|
</blockquote>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
|
{% endif %}
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user