{% extends "ishtar/sheet.html" %} {% load i18n window_field window_tables window_header %} {% block head_title %}{% trans "Person"%}{% endblock %} {% block content %} {% window_nav item window_id 'show-person' 'person_modify' %}

{% trans "Identity" %}

{% 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 %} {% if item.phone or item.phone2 or item.phone3 or item.mobile_phone %} {% if item.phone or item.phone_desc %}{% endif %} {% if item.phone2 or item.phone_desc2 %}{% endif %} {% if item.phone3 or item.phone_desc3 %}{% endif %} {% if item.mobile_phone %}{% endif %}
{% trans "Phone" %}
{% trans "Phone type" %} {% trans "Number" %}
{% if item.phone_desc %}{{item.phone_desc}}{% else %}–{% endif %} {% if item.phone %}{{item.phone}}{% else %}–{% endif %}
{% if item.phone_desc2 %}{{item.phone_desc2}}{% else %}–{% endif %} {% if item.phone2 %}{{item.phone2}}{% else %}–{% endif %}
{% if item.phone_desc3 %}{{item.phone_desc3}}{% else %}–{% endif %} {% if item.phone3 %}{{item.phone3}}{% else %}–{% endif %}
{% trans "Mobile phone" %} {{item.mobile_phone}}
{% endif %} {% if item.address or item.postal_code or item.town %}

{% trans "Business address" %}

{% field "Address" item.address %} {% field "Address complement" item.address_complement %} {% field "Postal code" item.postal_code %} {% field "Town" item.town %} {% endif %} {% if item.alt_address or item.alt_postal_code or item.alt_town %}

{% trans "Other address" %}

{% field "Address" item.alt_address %} {% field "Address complement" item.alt_address_complement %} {% field "Postal code" item.alt_postal_code %} {% field "Town" item.alt_town %} {% endif %} {% 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 '' output %} {% endif %} {% trans "Associated operations as responsible" as ao %} {% if item.operation_responsability.count %} {% dynamic_table_document ao 'operations' 'in_charge' item.pk '' output %} {% endif %} {% trans "In charge of archaelogical files" as af %} {% if item.file_responsability.count %} {% dynamic_table_document af 'files' 'in_charge' item.pk '' output %} {% endif %} {% trans "General contractor of archaelogical files" as af %} {% if item.general_contractor_files.count %} {% dynamic_table_document af 'files' 'general_contractor' item.pk '' output %} {% endif %} {% trans "Responsible for town planning service of archaelogical files" as af %} {% if item.responsible_town_planning_service_files.count %} {% dynamic_table_document af 'files' 'responsible_town_planning_service' item.pk '' output %} {% endif %} {% if item.operation_docs_q.count %} {% trans "Documents associated to operations" as operation_docs %} {% dynamic_table_document operation_docs 'operation_docs' 'person' item.pk '' output %} {% endif %} {% if item.contextrecord_docs_q.count %} {% trans "Documents associated to context records" as context_records %} {% dynamic_table_document context_records 'context_records_docs' 'person' item.pk '' output %} {% endif %} {% if item.find_docs_q.count %} {% trans "Documents associated to finds" as finds_docs %} {% dynamic_table_document finds_docs 'finds_docs' 'person' item.pk '' output %} {% endif %} {% endblock %}