From 2a8d2108f9d87f62db245895cc716e90f2225af6 Mon Sep 17 00:00:00 2001 From: QuentinAndre Date: Mon, 26 Jul 2021 14:43:05 +0200 Subject: url with get and display geo items --- .../templates/ishtar/blocks/sheet_geo_items.html | 48 +++++++++++++++++++ .../templates/ishtar/blocks/sheet_simple_map.html | 56 ++++++++++++++++++---- 2 files changed, 95 insertions(+), 9 deletions(-) create mode 100644 ishtar_common/templates/ishtar/blocks/sheet_geo_items.html (limited to 'ishtar_common/templates') diff --git a/ishtar_common/templates/ishtar/blocks/sheet_geo_items.html b/ishtar_common/templates/ishtar/blocks/sheet_geo_items.html new file mode 100644 index 000000000..451453d59 --- /dev/null +++ b/ishtar_common/templates/ishtar/blocks/sheet_geo_items.html @@ -0,0 +1,48 @@ +{% load i18n window_field %}{% if PROFILE.mapping %} +{% if geo_item.point_2d or geo_item.multi_polygon %} +
+
{% trans "Display geo items" %}
+
+ + +
+
+ + +
+
+ +{% endif %} +{% endif %} \ No newline at end of file diff --git a/ishtar_common/templates/ishtar/blocks/sheet_simple_map.html b/ishtar_common/templates/ishtar/blocks/sheet_simple_map.html index d755fe531..b475e7343 100644 --- a/ishtar_common/templates/ishtar/blocks/sheet_simple_map.html +++ b/ishtar_common/templates/ishtar/blocks/sheet_simple_map.html @@ -6,15 +6,53 @@
{% endif %} {% endif %} -- cgit v1.2.3