From 73d59d1d535e8ea779ac8e908ee6ffd4f08635cc Mon Sep 17 00:00:00 2001 From: QuentinAndre Date: Thu, 19 Aug 2021 09:43:52 +0200 Subject: test_geo_items works and manual tests work for ui --- .../templates/ishtar/blocks/sheet_geo_items.html | 43 ++--- .../templates/ishtar/blocks/sheet_simple_map.html | 31 ++-- ishtar_common/tests.py | 177 +++++++++++++++++---- 3 files changed, 174 insertions(+), 77 deletions(-) (limited to 'ishtar_common') diff --git a/ishtar_common/templates/ishtar/blocks/sheet_geo_items.html b/ishtar_common/templates/ishtar/blocks/sheet_geo_items.html index 3d76a5aa5..1c45b5d9f 100644 --- a/ishtar_common/templates/ishtar/blocks/sheet_geo_items.html +++ b/ishtar_common/templates/ishtar/blocks/sheet_geo_items.html @@ -1,60 +1,43 @@ {% load i18n window_field %}{% if PROFILE.mapping %} {% if geo_item.point_2d or geo_item.multi_polygon %} +{% load ids_display_geo_items %}
{% trans "Display geo items" %}
{% if geo_item.SLUG == "operation" %} - - - - - {% else %} - - + + {% endif %} + +
- {% if geo_item.SLUG == "operation" %} - - - {% else %} - - - {% endif %}