diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-04-08 11:22:33 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-04-24 19:42:35 +0200 |
commit | 11390d9e5517d338788aa23fe048d39df962a42c (patch) | |
tree | 7a64c075b68d848cbae91b28e6089223247a3c45 /archaeological_warehouse | |
parent | 90c5f10d2de7a1309a8c7d676cc21b019a504630 (diff) | |
download | Ishtar-11390d9e5517d338788aa23fe048d39df962a42c.tar.bz2 Ishtar-11390d9e5517d338788aa23fe048d39df962a42c.zip |
Geo: warehouse and container localization are optionnal
Diffstat (limited to 'archaeological_warehouse')
-rw-r--r-- | archaeological_warehouse/templates/ishtar/sheet_container.html | 4 | ||||
-rw-r--r-- | archaeological_warehouse/templates/ishtar/sheet_warehouse.html | 4 |
2 files changed, 4 insertions, 4 deletions
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 @@ <h3>{% trans "Localisation"%}</h3> <div class='row'> {% with geo_item=item %} - {% include "ishtar/blocks/sheet_simple_map.html"%} + {% if PROFILE.locate_warehouses %}{% include "ishtar/blocks/sheet_simple_map.html"%}{% endif %} <div class="col-12 col-lg-6 flex-wrap"> - {% include "ishtar/blocks/sheet_coordinates.html"%} + {% if PROFILE.locate_warehouses %}{% include "ishtar/blocks/sheet_coordinates.html"%}{% endif %} </div> {% endwith %} </div> 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 @@ <h3>{% trans "Localisation"%}</h3> <div class='row'> {% with geo_item=item %} - {% include "ishtar/blocks/sheet_simple_map.html"%} + {% if PROFILE.locate_warehouses %}{% include "ishtar/blocks/sheet_simple_map.html"%}{% endif %} <div class="col-12 col-lg-6 flex-wrap"> - {% 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 %} </div> {% endwith %} |