summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/ishtar/sheet.html
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2018-02-06 13:02:42 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2018-02-06 13:02:42 +0100
commit584309ffdf2a1fc0901d3653b97f02ec95f09e70 (patch)
tree2f5caf6ce04024c457fad326db629b0ba9abab0c /ishtar_common/templates/ishtar/sheet.html
parentcdd25d0d6ad07ff89f292e5a7081c22fbf842bf0 (diff)
downloadIshtar-584309ffdf2a1fc0901d3653b97f02ec95f09e70.tar.bz2
Ishtar-584309ffdf2a1fc0901d3653b97f02ec95f09e70.zip
Sheets: use lightgallery to display images on sheets
Diffstat (limited to 'ishtar_common/templates/ishtar/sheet.html')
-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 ee57d312d..8cfbe22ca 100644
--- a/ishtar_common/templates/ishtar/sheet.html
+++ b/ishtar_common/templates/ishtar/sheet.html
@@ -80,6 +80,9 @@
'', function(){$("#{{window_id}}").remove();},
true);
});
+ {% if item.image %}
+ lightGallery(document.getElementById('lightgallery-{{window_id}}'));
+ {% endif%}
});
</script>
{% endblock %}