summaryrefslogtreecommitdiff
path: root/archaeological_operations/templates
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_operations/templates')
-rw-r--r--archaeological_operations/templates/ishtar/sheet_operation.html14
1 files changed, 4 insertions, 10 deletions
diff --git a/archaeological_operations/templates/ishtar/sheet_operation.html b/archaeological_operations/templates/ishtar/sheet_operation.html
index 7a6c36a11..231db2ae8 100644
--- a/archaeological_operations/templates/ishtar/sheet_operation.html
+++ b/archaeological_operations/templates/ishtar/sheet_operation.html
@@ -189,12 +189,10 @@
{% table_administrativact "" item.administrative_act.all %}
{% endif %}
-{% comment %}
{% trans "Document from this operation" as operation_docs %}
-{% if item.source.count %}
-{% dynamic_table_document operation_docs 'operation_docs' 'operation' item.pk '' output %}
+{% if item.documents.count %}
+{% dynamic_table_document operation_docs 'documents' 'operations' item.pk '' output %}
{% endif %}
-{% endcomment %}
{% if item.context_record.count %}
{% trans "Context records" as cr_lab %}
@@ -206,24 +204,20 @@
{% dynamic_table_document cr_rels 'context_records_relations_detail' 'left_record__operation' item.pk '' output %}
{% endif %}
-{% comment %}
{% if item.context_record_docs_q.count %}
{% trans "Documents from associated context records" as cr_docs %}
-{% dynamic_table_document cr_docs 'context_records_docs' 'context_record__operation' item.pk '' output %}
+{% dynamic_table_document cr_docs 'documents' 'context_records__operation' item.pk '' output %}
{% endif %}
-{% endcomment %}
{% if item.finds %}
{% trans "Finds" as finds %}
{% dynamic_table_document finds 'finds_for_ope' 'base_finds__context_record__operation' item.pk 'TABLE_COLS_FOR_OPE' output %}
{% endif %}
-{% comment %}
{% if item.find_docs_q.count %}
{% trans "Documents from associated finds" as finds_docs %}
-{% dynamic_table_document finds_docs 'finds_docs' 'find__base_finds__context_record__operation' item.pk '' output %}
+{% dynamic_table_document finds_docs 'documents' 'finds__base_finds__context_record__operation' item.pk '' output %}
{% endif %}
-{% endcomment %}
{% if item.containers_q.count %}
{% trans "Associated containers" as containers_lbl %}