From c3e1102cfceeeb51b878849cd6fc91f3991e057f Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 8 Jan 2026 16:46:45 +0100 Subject: 🐛 sheet find: fix periods display MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../templates/ishtar/sheet_find.html | 84 +++++++++------------- .../templates/ishtar/sheet_find_treatments.html | 6 +- .../templates/ishtar/sheet_museum_find.html | 84 +++++++++------------- .../templates/ishtar/blocks/sheet_dating_list.html | 2 +- .../templates/ishtar/blocks/sheet_json.html | 8 ++- 5 files changed, 82 insertions(+), 102 deletions(-) diff --git a/archaeological_finds/templates/ishtar/sheet_find.html b/archaeological_finds/templates/ishtar/sheet_find.html index d26cbcc76..6bfe9eee3 100644 --- a/archaeological_finds/templates/ishtar/sheet_find.html +++ b/archaeological_finds/templates/ishtar/sheet_find.html @@ -27,6 +27,8 @@ {% with associated_treatment_files_count=item.associated_treatment_files_count %} {% with can_view_container=permission_view_own_container|or_:permission_view_container %} +{% with dating_list=item|m2m_listing:"datings" %} +{% with display_datations=dating_list %} {% 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 can_change=permission_change_own_find|or_:permission_change_find %} @@ -50,6 +52,15 @@ {% trans "Archaeological context" %} + {% if display_datations or can_change %} + + {% endif %}