From 57aeaae47ac4ddb9d0a171fd19d6a837c1281bad Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 16 Mar 2022 11:36:15 +0100 Subject: Geodata: fix templates with geovectordata --- .../templates/ishtar/blocks/sheet_map.html | 16 ++++++++++++--- .../templates/ishtar/blocks/sheet_simple_map.html | 24 ---------------------- 2 files changed, 13 insertions(+), 27 deletions(-) delete mode 100644 ishtar_common/templates/ishtar/blocks/sheet_simple_map.html (limited to 'ishtar_common/templates') diff --git a/ishtar_common/templates/ishtar/blocks/sheet_map.html b/ishtar_common/templates/ishtar/blocks/sheet_map.html index 296516e86..e0278b8c7 100644 --- a/ishtar_common/templates/ishtar/blocks/sheet_map.html +++ b/ishtar_common/templates/ishtar/blocks/sheet_map.html @@ -1,11 +1,18 @@ +{% if PROFILE.mapping and geo_item.main_geodata %} +
+
+
+
+
+ +{% endif %} diff --git a/ishtar_common/templates/ishtar/blocks/sheet_simple_map.html b/ishtar_common/templates/ishtar/blocks/sheet_simple_map.html deleted file mode 100644 index 93035862f..000000000 --- a/ishtar_common/templates/ishtar/blocks/sheet_simple_map.html +++ /dev/null @@ -1,24 +0,0 @@ -{% if PROFILE.mapping %} -{% if geo_item.point_2d or geo_item.multi_polygon %} -
-
-
-
-
- -{% endif %} -{% endif %} -- cgit v1.2.3