From 948696a25ef56e32bc04b93fd8802f45090ee6ba Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 8 Dec 2025 16:22:33 +0100 Subject: 🐛 sheet: fix display when thumbnail is missing (refs #6523) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ishtar_common/templates/ishtar/blocks/window_image.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ishtar_common') diff --git a/ishtar_common/templates/ishtar/blocks/window_image.html b/ishtar_common/templates/ishtar/blocks/window_image.html index ccdb4b332..702947a4d 100644 --- a/ishtar_common/templates/ishtar/blocks/window_image.html +++ b/ishtar_common/templates/ishtar/blocks/window_image.html @@ -30,13 +30,13 @@ {% endif %}{% endfor %}
- {% if item.main_image and item.main_image.image %}{% with image=item.main_image %} + {% if item.main_image and item.main_image.image and item.main_image.thumbnail %}{% with image=item.main_image %} {% endwith %}{% endif %} - {% for image in item.images_without_main_image.all %}{% if image.image %} + {% for image in item.images_without_main_image.all %}{% if image.image and image.thumbnail %} -- cgit v1.2.3