diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-09-23 15:37:41 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-09-23 15:43:41 +0200 |
commit | 8b3e8a9e57da557595cfe0cba63428601f131d93 (patch) | |
tree | 855bfac09cba06f88a9313a71337da0ed91e064e /archaeological_finds/templates | |
parent | 78e232902e214ef0eee1521b2c76057b3b53df32 (diff) | |
download | Ishtar-8b3e8a9e57da557595cfe0cba63428601f131d93.tar.bz2 Ishtar-8b3e8a9e57da557595cfe0cba63428601f131d93.zip |
Finds: add cultural attributions
Diffstat (limited to 'archaeological_finds/templates')
-rw-r--r-- | archaeological_finds/templates/ishtar/sheet_find.html | 9 |
1 files changed, 7 insertions, 2 deletions
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 @@ </div> {% endif %} - {% if m2m_listing_datings or item.dating_comment %} + {% if m2m_listing_datings or item.dating_comment or item.cultural_attributions.count %} <h3>{% trans "Dating" %}</h3> + {% if item.cultural_attributions.count %} + <div class='row'> + {% field_flex_multiple_obj "Cultural attributions" item 'cultural_attributions' %} + </div> + {% endif %} <table id='{{window_id}}-datings' class="table table-striped"> <tr> <th>{% trans "Period" %}</th> |