summaryrefslogtreecommitdiff
path: root/archaeological_finds/templates/ishtar/sheet_treatmentfile.html
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_finds/templates/ishtar/sheet_treatmentfile.html')
-rw-r--r--archaeological_finds/templates/ishtar/sheet_treatmentfile.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/archaeological_finds/templates/ishtar/sheet_treatmentfile.html b/archaeological_finds/templates/ishtar/sheet_treatmentfile.html
index 6cca72570..c6f5d3056 100644
--- a/archaeological_finds/templates/ishtar/sheet_treatmentfile.html
+++ b/archaeological_finds/templates/ishtar/sheet_treatmentfile.html
@@ -79,8 +79,9 @@
{% endif %}
{% if display_documents %}
-{% trans "Associated documents" as associated_docs %}
-{% dynamic_table_document associated_docs 'documents' 'treatment_files' item.pk '' output %}
+ {% with permission_change_item=item|can_edit_item:request %}
+ {% include "ishtar/blocks/sheet_document_list.html" %}
+ {% endwith %}
{% endif %}
{% if item.administrative_act.count %}