summaryrefslogtreecommitdiff
path: root/archaeological_context_records
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2022-03-16 11:36:15 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2022-12-12 12:21:00 +0100
commit57aeaae47ac4ddb9d0a171fd19d6a837c1281bad (patch)
treec04bf0b7c237eed0920799a2330e11dd05661737 /archaeological_context_records
parent222dac8bce00300a26c8aa7bba99ae7160723946 (diff)
downloadIshtar-57aeaae47ac4ddb9d0a171fd19d6a837c1281bad.tar.bz2
Ishtar-57aeaae47ac4ddb9d0a171fd19d6a837c1281bad.zip
Geodata: fix templates with geovectordata
Diffstat (limited to 'archaeological_context_records')
-rw-r--r--archaeological_context_records/templates/ishtar/sheet_contextrecord.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/archaeological_context_records/templates/ishtar/sheet_contextrecord.html b/archaeological_context_records/templates/ishtar/sheet_contextrecord.html
index c98bcef98..1c3bb4b41 100644
--- a/archaeological_context_records/templates/ishtar/sheet_contextrecord.html
+++ b/archaeological_context_records/templates/ishtar/sheet_contextrecord.html
@@ -149,19 +149,19 @@
{% field_flex "Depth of appearance (m)" item.depth_of_appearance '' '' has_image %}
</div>
+ {% if item.main_geodata %}
<h3>{% trans "Localisation"%}</h3>
<div class='row'>
{% with geo_item=item %}
- {% include "ishtar/blocks/sheet_simple_map.html"%}
+ {% include "ishtar/blocks/sheet_map.html"%}
<div class="col-12 col-lg-6 flex-wrap">
{% field_flex_multiple_full "Towns" item.operation.towns %}
{% include "ishtar/blocks/sheet_coordinates.html"%}
- {% if PROFILE.experimental_feature %}
{% include "ishtar/blocks/sheet_geo_items.html"%}
- {% endif %}
</div>
{% endwith %}
</div>
+ {% endif %}
<h3>{% trans "Sheet" %}</h3>
<div class="row">