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 /archaeological_context_records | |
parent | cdd25d0d6ad07ff89f292e5a7081c22fbf842bf0 (diff) | |
download | Ishtar-584309ffdf2a1fc0901d3653b97f02ec95f09e70.tar.bz2 Ishtar-584309ffdf2a1fc0901d3653b97f02ec95f09e70.zip |
Sheets: use lightgallery to display images on sheets
Diffstat (limited to 'archaeological_context_records')
-rw-r--r-- | archaeological_context_records/templates/ishtar/sheet_contextrecord.html | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/archaeological_context_records/templates/ishtar/sheet_contextrecord.html b/archaeological_context_records/templates/ishtar/sheet_contextrecord.html index 4fa98c6a9..cca8f5375 100644 --- a/archaeological_context_records/templates/ishtar/sheet_contextrecord.html +++ b/archaeological_context_records/templates/ishtar/sheet_contextrecord.html @@ -12,9 +12,7 @@ <div class="row"> <div class="offset-lg-4 col-lg-4 offset-md-3 col-md-6 offset-sm-1 col-sm-10 col-12"> <div class="card"> - {% if item.image %} - <img class='card-img-top' src="{{item.thumbnail.url}}"> - {% endif%} + {% include "ishtar/blocks/window_image.html" %} <div class="card-body"> <p class="card-text"> <p class='window-refs'>{{ item.parcel.short_label }}</p> |