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_find.html | 29 +++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) (limited to 'archaeological_finds/templates/ishtar') diff --git a/archaeological_finds/templates/ishtar/sheet_find.html b/archaeological_finds/templates/ishtar/sheet_find.html index 5b6c38112..af10a8711 100644 --- a/archaeological_finds/templates/ishtar/sheet_find.html +++ b/archaeological_finds/templates/ishtar/sheet_find.html @@ -18,6 +18,7 @@ {# trick to set to null non existing variable #} {% with permission_view_document=permission_view_document %} {% with permission_view_own_document=permission_view_own_document %} +{% with permission_change_geo=permission_change_own_geovectordata|or_:permission_change_geovectordata %} {% with non_modif_treatments_count=item.non_modif_treatments_count %} {% with associated_treatment_files_count=item.associated_treatment_files_count %} @@ -26,6 +27,7 @@ {% with display_warehouse_treatments=item.container|or_:item.container_ref|or_:item.upstream_treatment|or_:item.downstream_treatment|or_:non_modif_treatments_count|or_:associated_treatment_files_count %} {% with can_view_documents=permission_view_own_document|or_:permission_view_document %} {% with display_documents=can_view_documents|and_:item.documents_count %} +{% with display_geo=item.geodata.count %} {% if output != "ODT" and output != "PDF"%}