summaryrefslogtreecommitdiff
path: root/archaeological_warehouse/templates/ishtar/sheet_container.html
diff options
context:
space:
mode:
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
commitbc470e8759a77bb8ab150403232596598dcf3b4c (patch)
tree7a64c075b68d848cbae91b28e6089223247a3c45 /archaeological_warehouse/templates/ishtar/sheet_container.html
parentdc5909e6545c9014c1b8676bed6a9c8927965cc7 (diff)
downloadIshtar-bc470e8759a77bb8ab150403232596598dcf3b4c.tar.bz2
Ishtar-bc470e8759a77bb8ab150403232596598dcf3b4c.zip
Geo: warehouse and container localization are optionnal
Diffstat (limited to 'archaeological_warehouse/templates/ishtar/sheet_container.html')
-rw-r--r--archaeological_warehouse/templates/ishtar/sheet_container.html4
1 files changed, 2 insertions, 2 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>