From 11390d9e5517d338788aa23fe048d39df962a42c Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 8 Apr 2019 11:22:33 +0200 Subject: Geo: warehouse and container localization are optionnal --- archaeological_warehouse/templates/ishtar/sheet_container.html | 4 ++-- archaeological_warehouse/templates/ishtar/sheet_warehouse.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'archaeological_warehouse/templates') diff --git a/archaeological_warehouse/templates/ishtar/sheet_container.html b/archaeological_warehouse/templates/ishtar/sheet_container.html index f40020a92..ffc533513 100644 --- a/archaeological_warehouse/templates/ishtar/sheet_container.html +++ b/archaeological_warehouse/templates/ishtar/sheet_container.html @@ -43,9 +43,9 @@

{% trans "Localisation"%}

{% with geo_item=item %} - {% include "ishtar/blocks/sheet_simple_map.html"%} + {% if PROFILE.locate_warehouses %}{% include "ishtar/blocks/sheet_simple_map.html"%}{% endif %}
- {% include "ishtar/blocks/sheet_coordinates.html"%} + {% if PROFILE.locate_warehouses %}{% include "ishtar/blocks/sheet_coordinates.html"%}{% endif %}
{% endwith %}
diff --git a/archaeological_warehouse/templates/ishtar/sheet_warehouse.html b/archaeological_warehouse/templates/ishtar/sheet_warehouse.html index 6be884e8e..2d22df0fc 100644 --- a/archaeological_warehouse/templates/ishtar/sheet_warehouse.html +++ b/archaeological_warehouse/templates/ishtar/sheet_warehouse.html @@ -41,9 +41,9 @@

{% trans "Localisation"%}

{% with geo_item=item %} - {% include "ishtar/blocks/sheet_simple_map.html"%} + {% if PROFILE.locate_warehouses %}{% include "ishtar/blocks/sheet_simple_map.html"%}{% endif %}
- {% include "ishtar/blocks/sheet_coordinates.html"%} + {% if PROFILE.locate_warehouses %}{% include "ishtar/blocks/sheet_coordinates.html"%}{% endif %} {% with full=True %}{% include "ishtar/blocks/sheet_address_section.html" %}{% endwith %}
{% endwith %} -- cgit v1.2.3