summaryrefslogtreecommitdiff
path: root/ishtar_common
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2018-04-30 16:05:03 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2018-06-12 08:43:58 +0200
commitc6b94c38f8afe9a73ccb40b6af8ea9f8fa3f4ce8 (patch)
treeb525a13228892ceef1fd12e5e52aa89c786d4c64 /ishtar_common
parent16fa62f8fd560d09eb339df372416653d6eb916d (diff)
downloadIshtar-c6b94c38f8afe9a73ccb40b6af8ea9f8fa3f4ce8.tar.bz2
Ishtar-c6b94c38f8afe9a73ccb40b6af8ea9f8fa3f4ce8.zip
Display relation images on the sheet.
Diffstat (limited to 'ishtar_common')
-rw-r--r--ishtar_common/templates/ishtar/sheet.html3
1 files changed, 3 insertions, 0 deletions
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%}
});
</script>
{% endblock %}