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

{% trans "Person"%}

{% endblock %} {% block content %}
{%trans "Export as:"%} {%trans "OpenOffice.org file"%}, {%trans "PDF file"%}
{% field "Name" item.name %} {% field "Surname" item.surname %} {% field "Raw name" item.raw_name %} {% field "Created by" item.history_creator.ishtaruser.full_label %} {% field "Email" item.email %} {% field "Type(s)" item.person_types_list %} {% field "Address" item.address %} {% field "Address complement" item.address_complement %} {% field "Postal code" item.postal_code %} {% field "Town" item.town %} {% field "Phone" item.phone %} {% field "Mobile phone" item.mobile_phone %} {% if item.attached_to %}

{% trans "Associated organization"%}

{% field "Name" item.attached_to %} {% field "Address" item.attached_to.address %} {% field "Address complement" item.attached_to.address_complement %} {% field "Postal code" item.attached_to.postal_code %} {% field "Town" item.attached_to.town %} {% field "Phone" item.attached_to.phone %} {% field "Mobile phone" item.attached_to.mobile_phone %} {% endif %} {% trans "Associated operations as scientist" as ao %} {% if item.operation_scientist_responsability.count %} {% dynamic_table_document ao 'operations' 'scientist' item.pk %} {% endif %} {% trans "Associated operations as responsible" as ao %} {% if item.operation_responsability.count %} {% dynamic_table_document ao 'operations' 'in_charge' item.pk %} {% endif %} {% trans "Associated archaelogical files" as af %} {% if item.file_responsability.count %} {% dynamic_table_document af 'files' 'in_charge' item.pk %} {% endif %} {% for author in item.author.all %} {% for doc in author.related_sources %} {% endfor %} {% empty %} {% endfor %}
{%trans "Documents"%}
{% trans "Year" %} {% trans "Title" %} {% trans "Type" %} {% trans "Link" %}
{{ doc.creation_date|date:"Y"}} {{ doc.title }} {{ doc.source_type }} {% if doc.associated_url %}{% trans "Link"%}{% endif %}
{% trans "No document associated to this person" %}
{% endblock %}