{% 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%} {% if item.downstream_treatment %}

{% trans "This sheet has a downstream treatment: it is related to an old version of the find." %}

{% 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:"" }}

{% include "ishtar/blocks/sheet_external_id.html" %} {% field "Dimensions comment" item.dimensions_comment "
" "
" %} {% field "Conservatory comment" item.conservatory_comment "
" "
" %} {% field "Description" item.description "
" "
" %} {% field "Comment" item.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.limited_upstream_treatments %} {% endfor %}
  {% trans "Year - index" %} {% trans "Label" %} {% trans "Type" %} {% trans "State" %} {% trans "Related finds (max. 15 displayed)" %} {% trans "Doer" %} {% trans "Container" %} {% trans "Start date" %} {% trans "End date" %}
{{ treatment.year }} - {{treatment.index}} {{ treatment.label|default_if_none:"-" }} {{ treatment.treatment_types_lbl }} {{ treatment.treatment_state|default_if_none:"-" }} {% 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.limited_downstream_treatments %} {% endfor %}
  {% trans "Year - index" %} {% trans "Label" %} {% trans "Type" %} {% trans "State" %} {% trans "Related finds (max. 15 displayed)" %} {% trans "Doer" %} {% trans "Container" %} {% trans "Start date" %} {% trans "End date" %}
{{ treatment.year }} - {{treatment.index}} {{ treatment.label|default_if_none:"-" }} {{ treatment.treatment_types_lbl }} {{ treatment.treatment_state|default_if_none:"-" }} {% 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 %}

{{base_find.complete_id }}

{{base_find.short_id }}

{% if base_find.external_id %}

{{base_find.external_id|default:''}}

{% endif %} {% 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 %}