From c6b94c38f8afe9a73ccb40b6af8ea9f8fa3f4ce8 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 30 Apr 2018 16:05:03 +0200 Subject: Display relation images on the sheet. --- ishtar_common/templates/ishtar/sheet.html | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ishtar_common') diff --git a/ishtar_common/templates/ishtar/sheet.html b/ishtar_common/templates/ishtar/sheet.html index c5511b859..e12429443 100644 --- a/ishtar_common/templates/ishtar/sheet.html +++ b/ishtar_common/templates/ishtar/sheet.html @@ -84,6 +84,9 @@ {% if item.image %} lightGallery(document.getElementById('lightgallery-{{window_id}}')); {% endif%} + {% if item.relation_image %} + lightGallery(document.getElementById('lightgallery-{{window_id}}-relation-image')); + {% endif%} }); {% endblock %} -- cgit v1.2.3