Don't render empty html about books
This commit is contained in:
parent
0928fd03a6
commit
428d87a351
2 changed files with 47 additions and 45 deletions
|
@ -1,6 +1,7 @@
|
|||
{% spaceless %}
|
||||
{% load i18n %}
|
||||
|
||||
{% if book.isbn13 or book.oclc_number or book.asin %}
|
||||
<dl>
|
||||
{% if book.isbn_13 %}
|
||||
<div class="is-flex">
|
||||
|
@ -23,4 +24,5 @@
|
|||
</div>
|
||||
{% endif %}
|
||||
</dl>
|
||||
{% endif %}
|
||||
{% endspaceless %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue