summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2025-03-14 11:01:41 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2025-03-17 19:46:07 +0100
commit35cf272b8602d89fda1b13653442323fda46835c (patch)
tree39fdf5efd564226882fde4e97701c18c80194efb
parent6ac04db98d7879c3406adfac868999300f7ce04e (diff)
downloadIshtar-35cf272b8602d89fda1b13653442323fda46835c.tar.bz2
Ishtar-35cf272b8602d89fda1b13653442323fda46835c.zip
🐛 sheet sites: display related context records (refs #6147)
-rw-r--r--archaeological_operations/templates/ishtar/sheet_site.html5
1 files changed, 5 insertions, 0 deletions
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 %}