summaryrefslogtreecommitdiff
path: root/archaeological_warehouse/templates/ishtar/sheet_container.html
blob: 172719604429569e2e9d6ec7ce9ee6c02847788e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{% extends "ishtar/sheet.html" %}
{% load i18n window_header window_field window_tables %}

{% block head_title %}{% trans "Container" %}{% endblock %}

{% block content %}
{% window_nav item window_id 'show-container' 'container_modify' '' '' previous next 1 %}

<p class="window-refs">{{ item.reference|default:"" }}</p>
<p class="window-refs">{{ item.container_type|default:"" }}</p>
{% include "ishtar/blocks/sheet_external_id.html" %}

<ul class='form-flex'>
    {% field_li_detail "Responsible warehouse" item.responsible %}
    {% include "ishtar/blocks/sheet_creation_section.html" %}
    {% field_li_detail "Location (warehouse)" item.location %}
</ul>
{% field "Location" item.precise_location %}
{% field "Comment" item.comment "<pre>" "</pre>" %}

{% if item.finds.count %}
<h4>{% trans "Content" %}</h4>
{% dynamic_table_document finds 'finds' 'container' item.pk 'TABLE_COLS' output 'large' %}
{% endif %}

{% endblock %}