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 | 584309ffdf2a1fc0901d3653b97f02ec95f09e70 (patch) | |
| tree | 2f5caf6ce04024c457fad326db629b0ba9abab0c /ishtar_common/templates/ishtar/sheet.html | |
| parent | cdd25d0d6ad07ff89f292e5a7081c22fbf842bf0 (diff) | |
| download | Ishtar-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.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 %} |
