From 57aeaae47ac4ddb9d0a171fd19d6a837c1281bad Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 16 Mar 2022 11:36:15 +0100 Subject: Geodata: fix templates with geovectordata --- .../templates/ishtar/sheet_contextrecord.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'archaeological_context_records') 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 %} + {% if item.main_geodata %}

{% trans "Localisation"%}

{% with geo_item=item %} - {% include "ishtar/blocks/sheet_simple_map.html"%} + {% include "ishtar/blocks/sheet_map.html"%}
{% 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 %}
{% endwith %}
+ {% endif %}

{% trans "Sheet" %}

-- cgit v1.2.3