{% extends "ishtar/sheet.html" %} {% load i18n window_field from_dict link_to_window %} {% block head_sheet %} {{block.super}}

{% trans "Find"%}

{% endblock %} {% block content %} {% if previous or next %}
{%if previous%} {%trans "Previous version"%} ({{previous}}) {% endif %} {% if previous and next %} - {% endif %} {%if next%} Rollback - {%trans "Next version"%} ({{next}}) {% endif %}
{% endif %}
{%trans "Export as:"%} {%trans "OpenOffice.org file"%}, {%trans "PDF file"%}
{% trans "Modify" %}
{% if item.image %} {% endif%} {% if item.upstream_treatment %} {% for items, treatment in item.upstream_treatments %} {% endfor %}
{% trans "Upstream treatment" %}
{% trans "Type" %} {% trans "Related find" %} {% trans "Person" %} {% trans "Start date" %} {% trans "End date" %}
{{ treatment.treatment_type }} {% for item in items %}{% if not forloop.first %} ; {% endif %} {{item}} {{ item|link_to_window}}{% endfor %} {{ treatment.person|default_if_none:"" }} {{ treatment.start_date|default_if_none:"" }} {{ treatment.end_date|default_if_none:"" }}
{% endif %} {% if item.downstream_treatment %} {% for items, treatment in item.downstream_treatments %} {% endfor %}
{% trans "Downstream treatment" %}
{% trans "Type" %} {% trans "Related find" %} {% trans "Person" %} {% trans "Start date" %} {% trans "End date" %}
{{ treatment.treatment_type }} {% for item in items %}{% if not forloop.first %} ; {% endif %} {{item}} {{ item|link_to_window}}{% endfor %} {{ treatment.person|default_if_none:"" }} {{ treatment.start_date|default_if_none:"" }} {{ treatment.end_date|default_if_none:"" }}
{% endif %}

{% trans "Associated base finds"%}

{% for base_find in item.base_finds.all %}

{{base_find.complete_id}}

{% field "Short ID" base_find.short_id %} {% if base_find.IS_ISOLATED_DICT %} {% field "Batch/object" base_find.batch|from_dict:base_find.IS_ISOLATED_DICT %} {% endif %} {% if base_find.history_object and base_find.history_object.IS_ISOLATED_DICT %} {% field "Batch/object" base_find.batch|from_dict:base_find.history_object.IS_ISOLATED_DICT %} {% endif %} {% if base_find.discovery_date %}

{{base_find.discovery_date}}

{% endif%} {% if base_find.description %}

{{base_find.description}}

{% endif%} {% field "Comment" base_find.comment "
" "
" %} {% if base_find.special_interest %}

{{base_find.special_interest}}

{% endif%}

{{ base_find.context_record }}

{{base_find.context_record.parcel}}

{{ base_find.context_record.operation }}

{% if forloop.counter0 %}
{% endif %} {% endfor %} {% if not item.source.count %} {% trans "No document associated to this find" %} {% else %} {% 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 %}{% trans "Link"%}{% endif %}
{% endif %} {% endblock %}