diff options
Diffstat (limited to 'archaeological_finds/templates/ishtar/sheet_treatment.html')
-rw-r--r-- | archaeological_finds/templates/ishtar/sheet_treatment.html | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/archaeological_finds/templates/ishtar/sheet_treatment.html b/archaeological_finds/templates/ishtar/sheet_treatment.html new file mode 100644 index 000000000..20ea9e3c4 --- /dev/null +++ b/archaeological_finds/templates/ishtar/sheet_treatment.html @@ -0,0 +1,34 @@ +{% 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" %}{% endblock %} +{% block content %} +{% window_nav item window_id 'show-treatment' %} + +<ul class='form-flex'> + {% field_li "Treatment type" item.treatment_type %} + {% field_li "Container" item.container %} + {% field_li "Location" item.location %} + {% field_li "Location (not referenced)" item.other_location %} + {% field_li "Doer" item.person %} + {% field_li "Start date" item.start_date %} + {% field_li "End date" item.end_date %} +</ul> +{% if item.description or item.comment %} +{% field "Description" item.description "<pre>" "</pre>" %} +{% field "Comment" item.comment "<pre>" "</pre>" %} +{% endif %} + +{% trans "Upstream finds" as finds %} +{% if item.upstream.count %} +{% dynamic_table_document finds 'finds_for_treatment' 'downstream_treatment' item.pk 'TABLE_COLS_FOR_OPE' output %} +{% endif %} + +{% trans "Downstream finds" as finds %} +{% if item.downstream.count %} +{% dynamic_table_document finds 'finds_for_treatment' 'upstream_treatment' item.pk 'TABLE_COLS_FOR_OPE' output %} +{% endif %} + + +{% endblock %} |