diff options
| 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 |
| commit | 411ad84b62079aba8468919b1455ca2c7134c820 (patch) | |
| tree | 2f5caf6ce04024c457fad326db629b0ba9abab0c /ishtar_common/templates/ishtar/sheet.html | |
| parent | 0dc09eb6b717558ba1b644d88b7351bf08325957 (diff) | |
| download | Ishtar-411ad84b62079aba8468919b1455ca2c7134c820.tar.bz2 Ishtar-411ad84b62079aba8468919b1455ca2c7134c820.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.html | 3 |
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 %} |
