From 0f5d1297503a97e865ce211b2a0c801b21cfd613 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 5 May 2022 18:45:33 +0200 Subject: Geodata: display geodata list on sheet --- .../templates/ishtar/sheet_contextrecord.html | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (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 1c3bb4b41..db952032c 100644 --- a/archaeological_context_records/templates/ishtar/sheet_contextrecord.html +++ b/archaeological_context_records/templates/ishtar/sheet_contextrecord.html @@ -14,6 +14,7 @@ {% with permission_view_own_document=permission_view_own_document %} {% with permission_view_find=permission_view_find %} {% with permission_view_own_find=permission_view_own_find %} +{% with permission_change_geo=permission_change_own_geovectordata|or_:permission_change_geovectordata %} {% with can_view_documents=permission_view_own_document|or_:permission_view_document %} {% with has_documents=item|safe_or:"documents.count" %} @@ -26,6 +27,7 @@ {% with has_finds=item|safe_or:"base_finds.count" %} {% with display_finds=has_finds|and_:can_view_finds %} {% with display_data=item.data %} +{% with display_geo=item.geodata.count %} {% if output != "ODT" and output != "PDF"%}