From 32d620abfd98c94cff03eb36a432069fe282ae46 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Sat, 14 Sep 2019 21:06:08 +0200 Subject: Add a link to the sheet in image galleries --- ishtar_common/templates/ishtar/blocks/window_image.html | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'ishtar_common/templates') diff --git a/ishtar_common/templates/ishtar/blocks/window_image.html b/ishtar_common/templates/ishtar/blocks/window_image.html index 66e6a9e2f..dcf0c2f5e 100644 --- a/ishtar_common/templates/ishtar/blocks/window_image.html +++ b/ishtar_common/templates/ishtar/blocks/window_image.html @@ -1,14 +1,16 @@ -{% load i18n %}{% if item.images.count %} +{% load i18n link_to_window %}{% if item.images.count %} {% if output == "ODT" or output == "PDF"%} {% include "ishtar/blocks/window_image_odt.html" %} {% else %} +{% trans "Sheet" as sheet_lbl %}
{% if item.main_image %}{% with image=item.main_image %} {% endwith %}{% endif %} @@ -16,8 +18,9 @@ {% endfor %} -- cgit v1.2.3