Hide cover preview column if cover is unset

This commit is contained in:
Mouse Reeve 2021-09-29 11:36:35 -07:00
parent e308ca2511
commit 4747bb2156

View file

@ -226,9 +226,11 @@
<div class="column is-half">
<h2 class="title is-4">{% trans "Cover" %}</h2>
<div class="columns">
{% if book.cover %}
<div class="column is-3 is-cover">
{% include 'snippets/book_cover.html' with book=book cover_class='is-h-xl-mobile is-w-auto-tablet' size_mobile='xlarge' size='large' %}
</div>
{% endif %}
<div class="column">
<div class="block">