{% 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 "Find" %}{% endblock %} {% block content %} {% window_nav item window_id 'show-find' 'find_modify' 'show-historized-find' 'revert-find' previous next 1 %} {% if item.image %} {% endif%}

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

{% for base_find in item.base_finds.all %}{% if forloop.counter0 %} – {% endif %}{{base_find.complete_id}}{% endfor %}

{% for base_find in item.base_finds.all %}{% if forloop.counter0 %} – {% endif %}{{base_find.short_id}}{% endfor %}

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

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

{% field "Description" item.description "
" "
" %} {% field "Dimensions comment" item.dimensions_comment "
" "
" %} {% field "Conservatory comment" item.conservatory_comment "
" "
" %} {% if item.container %}

{% trans "Warehouse"%}

{% field_detail "Container" item.container %} {% field_detail "Responsible warehouse" item.container.responsible %} {% field_detail "Location (warehouse)" item.container.location %} {% field "Precise localisation" item.container.divisions_lbl %} {% endif %} {% if item.upstream_treatment or item.downstream_treatment %}

{% trans "Treatments"%}

{% if item.upstream_treatment %}

{% trans "Upstream treatment" %}

{% for items, treatment in item.upstream_treatments %} {% endfor %}
  {% trans "Year - index" %} {% trans "Label" %} {% trans "Type" %} {% trans "Related finds" %} {% trans "Doer" %} {% trans "Container" %} {% trans "Start date" %} {% trans "End date" %}
{{ treatment.year }} - {{treatment.index}} {{ treatment.label|default_if_none:"-" }} {{ treatment.treatment_types_lbl }} {% for item in items %}{{item}} {{ item|link_to_window}}{% endfor %} {{ treatment.person|default_if_none:"-" }} {{ treatment.container|default_if_none:"-" }} {{ treatment.start_date|default_if_none:"-" }} {{ treatment.end_date|default_if_none:"-" }}

{% trans "CSV" %} ({{ENCODING}})

{% endif %} {% if item.downstream_treatment %}

{% trans "Downstream treatment" %}

{% for items, treatment in item.downstream_treatments %} {% endfor %}
  {% trans "Year - index" %} {% trans "Label" %} {% trans "Type" %} {% trans "Related finds" %} {% trans "Doer" %} {% trans "Container" %} {% trans "Start date" %} {% trans "End date" %}
{{ treatment.year }} - {{treatment.index}} {{ treatment.label }} {{ treatment.treatment_types_lbl }} {% for item in items %}{{item}} {{ item|link_to_window}}{% endfor %} {{ treatment.person|default_if_none:"" }} {{ treatment.container|default_if_none:"-" }} {{ treatment.start_date|default_if_none:"" }} {{ treatment.end_date|default_if_none:"" }}

{% trans "CSV" %} ({{ENCODING}})

{% endif %} {% endif %}

{% trans "Associated base finds"%}

{% for base_find in item.base_finds.all %} {% field "Description" base_find.description "
" "
" %} {% field "Comment" base_find.comment "
" "
" %} {% if forloop.counter0 %}
{% endif %} {% endfor %} {% if item.source.count %}

{% trans "Documents"%}

{% for doc in item.source.all %} {% empty %} {% endfor %}
{%trans "Documents"%}
{% trans "Title" %} {% trans "Type" %} {% trans "Authors" %} {% trans "Link" %}
{{ doc.title }} {{doc.source_type}} {{ doc.authors.all|join:", " }} {% if doc.associated_url %}{{doc.associated_url}}{% endif %}
{% endif %} {% endblock %}