diff options
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 |
commit | 35cf272b8602d89fda1b13653442323fda46835c (patch) | |
tree | 39fdf5efd564226882fde4e97701c18c80194efb /archaeological_operations | |
parent | 6ac04db98d7879c3406adfac868999300f7ce04e (diff) | |
download | Ishtar-35cf272b8602d89fda1b13653442323fda46835c.tar.bz2 Ishtar-35cf272b8602d89fda1b13653442323fda46835c.zip |
🐛 sheet sites: display related context records (refs #6147)
Diffstat (limited to 'archaeological_operations')
-rw-r--r-- | archaeological_operations/templates/ishtar/sheet_site.html | 5 |
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 %} |