{% extends "ishtar/sheet.html" %} {% load i18n window_header window_field window_tables %} {% block head_title %}{% trans "Container" %} - {{ item.reference|default:"" }} ({{ item.container_type|default:"" }}){% endblock %} {% block toolbar %} {% window_nav item window_id 'show-container' 'container_modify' '' '' previous next 1 %} {% endblock %} {% block content %}
{% if item.main_image %}
{% include "ishtar/blocks/window_image.html" %}
{% endif %} {% if item.main_image %}
{#
> #} {% else %}
{% endif %}

{{ item.reference|default:"" }}

{{ item.container_type|default:"" }}

{{ item.responsible.name }} - {{ item.index }}

{{ item.old_reference|default:"" }}

{% include "ishtar/blocks/sheet_external_id.html" %}
{% if item.main_image %}
{#
> #} {% else %}
{% endif %} {% field_flex_detail "Responsible warehouse" item.responsible %} {% field_flex_detail "Location (warehouse)" item.location %} {% include "ishtar/blocks/sheet_creation_section.html" %} {% field_flex "Location" item.precise_location %} {% field_flex_full "Comment" item.comment "
" "
" %} {% include "ishtar/blocks/sheet_json.html" %}
{% if item.point_2d or item.multi_polygon %}

{% trans "Localisation"%}

{% with geo_item=item %} {% if PROFILE.locate_warehouses %}{% include "ishtar/blocks/sheet_simple_map.html"%}{% endif %}
{% if PROFILE.locate_warehouses %}{% include "ishtar/blocks/sheet_coordinates.html"%}{% endif %}
{% endwith %}
{% endif %} {% if item.finds.count %}

{% trans "Content" %}

{% dynamic_table_document finds 'finds' 'container' item.pk 'TABLE_COLS' output 'large' %} {% endif %} {% if item.finds_ref.count %}

{% trans "Reference content" %}

{% dynamic_table_document finds 'finds' 'container_ref' item.pk 'TABLE_COLS' output 'large' %} {% endif %} {% endblock %}