summaryrefslogtreecommitdiff
path: root/archaeological_finds/templates/ishtar/sheet_treatment.html
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-03-19 17:33:37 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-03-19 17:33:37 +0100
commit1ce09b797cdff55127caf7ad78d3f4c9d7ff9c47 (patch)
tree656e6b4f57ae2386987a06dab0006b1a3c966b85 /archaeological_finds/templates/ishtar/sheet_treatment.html
parent441ece7a95039679455eb45b029b8a84a4be508d (diff)
downloadIshtar-1ce09b797cdff55127caf7ad78d3f4c9d7ff9c47.tar.bz2
Ishtar-1ce09b797cdff55127caf7ad78d3f4c9d7ff9c47.zip
Treatments/Treatment files sheets: add source list (refs #3402)
Diffstat (limited to 'archaeological_finds/templates/ishtar/sheet_treatment.html')
-rw-r--r--archaeological_finds/templates/ishtar/sheet_treatment.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/archaeological_finds/templates/ishtar/sheet_treatment.html b/archaeological_finds/templates/ishtar/sheet_treatment.html
index eeaa95dff..37688b267 100644
--- a/archaeological_finds/templates/ishtar/sheet_treatment.html
+++ b/archaeological_finds/templates/ishtar/sheet_treatment.html
@@ -56,6 +56,11 @@
{% trans "Related operations" as related_operations %}
{% dynamic_table_document related_operations 'operations' 'related_treatment' item.pk 'TABLE_COLS' output %}
+{% if item.source.count %}
+{% trans "Associated documents" as associated_docs %}
+{% dynamic_table_document associated_docs 'treatments_docs' 'treatment' item.pk '' output %}
+{% endif %}
+
{% if item.administrative_act.count %}
{% trans "Administrative acts" as admact_lbl %}
{% table_administrativact admact_lbl item.administrative_act.all %}