From 35cf272b8602d89fda1b13653442323fda46835c Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 14 Mar 2025 11:01:41 +0100 Subject: 🐛 sheet sites: display related context records (refs #6147) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- archaeological_operations/templates/ishtar/sheet_site.html | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'archaeological_operations') diff --git a/archaeological_operations/templates/ishtar/sheet_site.html b/archaeological_operations/templates/ishtar/sheet_site.html index f1c5b6ec8..8b7a0f152 100644 --- a/archaeological_operations/templates/ishtar/sheet_site.html +++ b/archaeological_operations/templates/ishtar/sheet_site.html @@ -100,6 +100,11 @@ {% dynamic_table_document operations 'operations' 'archaeological_sites' item.pk '' output %} {% endif %} +{% trans "Context records" as cr_label %} +{% if item.context_records.count %} +{% dynamic_table_document cr_label 'context_records' 'archaeological_sites' item.pk '' output %} +{% endif %} + {% if item.finds.count and not item.finds_not_available %} {% trans "Finds" as finds %} {% dynamic_table_document finds 'finds' 'base_finds__context_record__archaeological_site' item.pk '' output %} -- cgit v1.2.3