diff options
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 %} |
