diff options
Diffstat (limited to 'archaeological_finds/templates/ishtar/sheet_treatmentfile.html')
| -rw-r--r-- | archaeological_finds/templates/ishtar/sheet_treatmentfile.html | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/archaeological_finds/templates/ishtar/sheet_treatmentfile.html b/archaeological_finds/templates/ishtar/sheet_treatmentfile.html new file mode 100644 index 000000000..f7df59bc4 --- /dev/null +++ b/archaeological_finds/templates/ishtar/sheet_treatmentfile.html @@ -0,0 +1,30 @@ +{% extends "ishtar/sheet.html" %} +{% load i18n window_field from_dict link_to_window window_tables window_header humanize %} +{% load url from future %} + +{% block head_title %}{% trans "Treatment file" %}{% endblock %} +{% block content %} +{% window_nav item window_id 'show-treatmentfile' %} + +<p class="window-refs">{{ item.name|default:"" }}</p> +{% if item.internal_reference %} +<p class="window-refs">{{ item.internal_reference }}</p>{% endif %} +<p class="window-refs">{{ item.year }} - {{ item.index }}</p> +{% if item.external_id %} +<p class="window-refs">{{ item.external_id }}</p>{% endif %} + +<ul class='form-flex'> + {% field_li "Type" item.type %} + {% field_li "Responsible" item.in_charge %} + {% field_li "Creation date" item.creation_date %} + {% field_li "Reception date" item.reception_date %} + {% field_li "End date" item.end_date %} +</ul> +{% field "Comment" item.comment "<pre>" "</pre>" %} + +{% trans "Treatments" as treatments %} +{% if item.treatments.count %} +{% dynamic_table_document treatments 'treatments' 'treatments' item.pk '' output %} +{% endif %} + +{% endblock %} |
