From 02e0a4a47ef22ff40aca85ea9ccd07c37628d234 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 28 Jan 2019 16:29:45 +0100 Subject: Sheet find: display other images when no main image is found --- archaeological_finds/templates/ishtar/sheet_find.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archaeological_finds/templates') diff --git a/archaeological_finds/templates/ishtar/sheet_find.html b/archaeological_finds/templates/ishtar/sheet_find.html index bc6f6320b..ff0ccb2b0 100644 --- a/archaeological_finds/templates/ishtar/sheet_find.html +++ b/archaeological_finds/templates/ishtar/sheet_find.html @@ -83,7 +83,7 @@
- {% with has_image=item.main_image %} + {% with has_image=item.images.count %} {% if has_image %}
-- cgit v1.2.3