From 8b3e8a9e57da557595cfe0cba63428601f131d93 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 23 Sep 2019 15:37:41 +0200 Subject: Finds: add cultural attributions --- archaeological_finds/templates/ishtar/sheet_find.html | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'archaeological_finds/templates') diff --git a/archaeological_finds/templates/ishtar/sheet_find.html b/archaeological_finds/templates/ishtar/sheet_find.html index f1a1affb6..ab82eb6d9 100644 --- a/archaeological_finds/templates/ishtar/sheet_find.html +++ b/archaeological_finds/templates/ishtar/sheet_find.html @@ -23,7 +23,7 @@ {% with non_modif_treatments_count=item.non_modif_treatments_count %} {% with associated_treatment_files_count=item.associated_treatment_files_count %} -{% with display_datings=item.integrities.count|or_:item.remarkabilities.count|or_:item.conservatory_state|or_:item.conservatory_comment|or_:item.alterations.count|or_:item.alteration_causes.count|or_:item.preservation_to_considers.count|or_:item.appraisal_date|or_:item.treatment_emergency|or_:item.insurance_value|or_:item.estimated_value|or_:m2m_listing_datings|or_:item.dating_comment %} +{% with display_datings=item.integrities.count|or_:item.remarkabilities.count|or_:item.conservatory_state|or_:item.conservatory_comment|or_:item.alterations.count|or_:item.alteration_causes.count|or_:item.preservation_to_considers.count|or_:item.appraisal_date|or_:item.treatment_emergency|or_:item.insurance_value|or_:item.estimated_value|or_:m2m_listing_datings|or_:item.dating_comment|or_:item.cultural_attributions.count %} {% 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 %} @@ -206,8 +206,13 @@ {% endif %} - {% if m2m_listing_datings or item.dating_comment %} + {% if m2m_listing_datings or item.dating_comment or item.cultural_attributions.count %}

{% trans "Dating" %}

+ {% if item.cultural_attributions.count %} +
+ {% field_flex_multiple_obj "Cultural attributions" item 'cultural_attributions' %} +
+ {% endif %} -- cgit v1.2.3
{% trans "Period" %}