diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2026-01-08 12:11:22 +0100 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2026-01-08 12:11:22 +0100 |
| commit | d3fa68cbe57847081b1526be4777c6126de3e563 (patch) | |
| tree | f617ce80639c0603f8e5e8f68b7d8152d20d3516 | |
| parent | c97423f42281b1afcd7608c026930a4290789ce1 (diff) | |
| download | Ishtar-d3fa68cbe57847081b1526be4777c6126de3e563.tar.bz2 Ishtar-d3fa68cbe57847081b1526be4777c6126de3e563.zip | |
🐛 UI - gallery: fix legend on main image (refs #6550)
| -rw-r--r-- | ishtar_common/templates/ishtar/blocks/window_image.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ishtar_common/templates/ishtar/blocks/window_image.html b/ishtar_common/templates/ishtar/blocks/window_image.html index 702947a4d..1e9a89a5a 100644 --- a/ishtar_common/templates/ishtar/blocks/window_image.html +++ b/ishtar_common/templates/ishtar/blocks/window_image.html @@ -7,7 +7,8 @@ <div class="lightgallery-captions"> {% if item.main_image and item.main_image.image %}{% with image=item.main_image %} <div id="lightgallery-{{window_id}}-caption-0"> - <span class="close">×</span> + <span class="close">×</span> + {% include "ishtar/blocks/window_image_detail.html" %} {{image|simple_link_to_window:sheet_lbl}} {% if can_edit_document %} <a href="{% url 'edit-document' image.pk %}" class="display_details"> @@ -18,7 +19,7 @@ {% endwith %}{% endif %} {% for image in item.images_without_main_image.all %}{% if image.image %} <div id="lightgallery-{{window_id}}-caption-{{forloop.counter}}"> - <span class="close">×</span> + <span class="close">×</span> {% include "ishtar/blocks/window_image_detail.html" %} {{image|simple_link_to_window:sheet_lbl}} {% if can_edit_document %} |
