summaryrefslogtreecommitdiff
path: root/archaeological_operations/templates/ishtar/sheet_site.html
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2023-03-06 18:06:01 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2023-03-06 18:06:01 +0100
commitb16a39fff95c60711b74ba33977de855d16a1204 (patch)
tree5939b2cd46e72d9eac7954b620d5be03659b9a52 /archaeological_operations/templates/ishtar/sheet_site.html
parent6bfcffe23290c79c7d72e0aec45bd9ed86d52c14 (diff)
downloadIshtar-b16a39fff95c60711b74ba33977de855d16a1204.tar.bz2
Ishtar-b16a39fff95c60711b74ba33977de855d16a1204.zip
Profile: do not display geo item list when mapping is deactivated (refs #4467)
Diffstat (limited to 'archaeological_operations/templates/ishtar/sheet_site.html')
-rw-r--r--archaeological_operations/templates/ishtar/sheet_site.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/archaeological_operations/templates/ishtar/sheet_site.html b/archaeological_operations/templates/ishtar/sheet_site.html
index 9c78a7ffb..d8d5549b6 100644
--- a/archaeological_operations/templates/ishtar/sheet_site.html
+++ b/archaeological_operations/templates/ishtar/sheet_site.html
@@ -12,7 +12,6 @@
{% with permission_change_geovectordata=permission_change_geovectordata %}
{% with permission_change_geo=permission_change_own_geovectordata|or_:permission_change_geovectordata %}
-{% with display_geo=item.geodata.count %}
<div class="row">
<div class="offset-lg-4 col-lg-4 offset-md-3 col-md-6 offset-sm-1 col-sm-10 col-12">
@@ -101,9 +100,10 @@
{% endif %}
{% endif %}
-{% if not is_external and display_geo %}
+{% if not is_external and SHOW_GEO %}
+<h3>{% trans "Geographic data" %}</h3>
{% with geo_item=item %}{% include "ishtar/blocks/sheet_geographic.html" %}{% endwith %}
{% endif %}
-{% endwith %} {% endwith %} {% endwith %} {% endwith %}
+{% endwith %} {% endwith %} {% endwith %}
{% endblock %}