From 5d303aa0a3ca38a0b059cccdccf54c150c73e568 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 20 Jan 2023 17:08:54 +0100 Subject: PDF export: fix new line on
 blocks

---
 ishtar_common/templates/ishtar/blocks/sheet_geographic.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'ishtar_common/templates')

diff --git a/ishtar_common/templates/ishtar/blocks/sheet_geographic.html b/ishtar_common/templates/ishtar/blocks/sheet_geographic.html
index 8b6255f26..bad399ef2 100644
--- a/ishtar_common/templates/ishtar/blocks/sheet_geographic.html
+++ b/ishtar_common/templates/ishtar/blocks/sheet_geographic.html
@@ -26,7 +26,7 @@
         {% if geo.origin %}{{ geo.origin }}{% else %}-{% endif %}
         {% if geo.provider %}{{ geo.provider }}{% else %}-{% endif %}
         {% if geo.comment %}{{ geo.comment }}{% else %}-{% endif %}
-        {% if permission_change_geo %}
+        {% if permission_change_geo and output != "ODT" and output != "PDF" %}
             
                 {% if geo|can_edit_item:request %}{% else %}–{% endif %}
@@ -34,7 +34,7 @@
     
 {% endfor %}
 
-{% if permission_change_geo %}
+{% if permission_change_geo and output != "ODT" and output != "PDF" %}
 
-- 
cgit v1.2.3