summaryrefslogtreecommitdiff
path: root/ishtar_common
diff options
context:
space:
mode:
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
commitd3fa68cbe57847081b1526be4777c6126de3e563 (patch)
treef617ce80639c0603f8e5e8f68b7d8152d20d3516 /ishtar_common
parentc97423f42281b1afcd7608c026930a4290789ce1 (diff)
downloadIshtar-d3fa68cbe57847081b1526be4777c6126de3e563.tar.bz2
Ishtar-d3fa68cbe57847081b1526be4777c6126de3e563.zip
🐛 UI - gallery: fix legend on main image (refs #6550)
Diffstat (limited to 'ishtar_common')
-rw-r--r--ishtar_common/templates/ishtar/blocks/window_image.html5
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">&times</span>
+ <span class="close">&times;</span>
+ {% include "ishtar/blocks/window_image_detail.html" %}
{{image|simple_link_to_window:sheet_lbl}} &nbsp;
{% 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">&times</span>
+ <span class="close">&times;</span>
{% include "ishtar/blocks/window_image_detail.html" %}
{{image|simple_link_to_window:sheet_lbl}} &nbsp;
{% if can_edit_document %}