blob: 38bb79b4fc7bd5f8f73b0d09545470da058adfbb (
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
27
28
29
30
|
{% 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 %}
{% if item.image %}
<a href='{{item.image.url}}' rel="prettyPhoto" title="{{item.label}}" class='photo'><img src='{{item.thumbnail.url}}'/></a>
{% endif%}
<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 %}
|