summaryrefslogtreecommitdiff
path: root/archaeological_finds/templates/ishtar
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2016-12-08 20:41:59 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2016-12-08 20:41:59 +0100
commit549cd33d6390c7b5cd8043e4c63d0ceb0d1fcd05 (patch)
tree7ec49e588438080c5a542123f5f7cee617df9999 /archaeological_finds/templates/ishtar
parent7207f11fca59b23065bf259a32b595e8a9deec0b (diff)
downloadIshtar-549cd33d6390c7b5cd8043e4c63d0ceb0d1fcd05.tar.bz2
Ishtar-549cd33d6390c7b5cd8043e4c63d0ceb0d1fcd05.zip
Manage file association for treatments
Diffstat (limited to 'archaeological_finds/templates/ishtar')
-rw-r--r--archaeological_finds/templates/ishtar/sheet_treatment.html2
-rw-r--r--archaeological_finds/templates/ishtar/sheet_treatmentfile.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/archaeological_finds/templates/ishtar/sheet_treatment.html b/archaeological_finds/templates/ishtar/sheet_treatment.html
index 1dfe19844..f1bfd68d2 100644
--- a/archaeological_finds/templates/ishtar/sheet_treatment.html
+++ b/archaeological_finds/templates/ishtar/sheet_treatment.html
@@ -19,8 +19,8 @@
<ul class='form-flex'>
{% field_li_multiple "Treatment type" item.treatment_types %}
+ {% field_li_detail "Associated file" item.file %}
{% field_li "Location" item.location %}
- {% field_li "Location (not referenced)" item.other_location %}
{% field_li "Container" item.container %}
{% field_li "Responsible" item.person %}
{% field_li "Organization" item.organization %}
diff --git a/archaeological_finds/templates/ishtar/sheet_treatmentfile.html b/archaeological_finds/templates/ishtar/sheet_treatmentfile.html
index f7df59bc4..d569c5f0f 100644
--- a/archaeological_finds/templates/ishtar/sheet_treatmentfile.html
+++ b/archaeological_finds/templates/ishtar/sheet_treatmentfile.html
@@ -24,7 +24,7 @@
{% trans "Treatments" as treatments %}
{% if item.treatments.count %}
-{% dynamic_table_document treatments 'treatments' 'treatments' item.pk '' output %}
+{% dynamic_table_document treatments 'treatments' 'file' item.pk '' output '' 'treatment' %}
{% endif %}
{% endblock %}