{% extends "ishtar/sheet.html" %} {% load i18n l10n ishtar_helpers window_field from_dict link_to_window window_tables window_header humanize %} {% block head_title %}{% trans "Find" %}{% if item.denomination %} - {{item.denomination|default:""}}{% endif %} - {{item.label|default:""}}{% endblock %} {% block toolbar %} {% window_find_nav item window_id 'show-find' 'find_modify' 'show-historized-find' 'revert-find' previous next 1 baskets %} {% endblock %} {% block content %} {% if item.downstream_treatment %} {% endif %} {# trick to set to null non existing variable #} {% with permission_view_document=permission_view_document %} {% with permission_view_own_document=permission_view_own_document %} {% with permission_change_own_geovectordata=permission_change_own_geovectordata %} {% with permission_change_geovectordata=permission_change_geovectordata %} {% with permission_change_geo=permission_change_own_geovectordata|or_:permission_change_geovectordata %} {% with non_modif_treatments_count=item.non_modif_treatments_count %} {% with associated_treatment_files_count=item.associated_treatment_files_count %} {% with display_relations=item|safe_or:"right_relations.count|left_relations.count"|safe_and_not:"right_relations_not_available"|safe_and_not:"left_relations_not_available" %} {% with can_view_container=permission_view_own_container|or_:permission_view_container %} {% with display_warehouse_treatments=item.container|or_:item.container_ref|or_:item.upstream_treatment|or_:item.downstream_treatment|or_:non_modif_treatments_count|or_:associated_treatment_files_count %} {% with dating_list=item|m2m_listing:"datings" %} {% with can_view_documents=permission_view_own_document|or_:permission_view_document %} {% with can_change=permission_change_own_find|or_:permission_change_find %} {% with has_documents=item|safe_or:"documents.count|documents_list"|safe_and_not:"documents_not_available" %} {% with display_documents=can_view_documents|and_:has_documents %} {% with has_image=item.images_number %} {% if output != "ODT" and output != "PDF"%} {% endif %}
{% if has_image %}
{% include "ishtar/blocks/window_image.html" %}
{% endif %}

{% trans "Identification" %}

{% include "ishtar/blocks/sheet_external_id.html" %} {# no complete identifier #}
{% field_flex _("Denomination") item.denomination %} {% field_flex _("Title") item.title %} {% field_flex _("Complete museum ID") item.cache_complete_museum_id %} {% field_flex _("Free ID") item.label %} {% field_flex _("Previous ID") item.previous_id %} {% field_flex _("Excavation ID") item.excavation_ids %} {% field_flex _("Laboratory ID") item.laboratory_id %} {% field_flex _("Seal number") item.seal_number %} {# no index admin #}

{% trans "Description" %}

{% field_flex_full _("Description") item.description "
" "
" %} {% field_flex_full _("Public description") item.public_description "
" "
" %} {% field_flex_full _("Comparanda") item.comparanda "
" "
" %} {% field_flex _("Is complete?") item.is_complete %} {% field_flex_detail_multiple _("Actors") item.actors %} {% with material=item.get_hierarchical_material_types %}{% if material %} {% field_flex _("Material types") material %}{% else %} {% field_flex_multiple_obj _("Material types") item 'material_types' %} {% endif %}{% endwith %} {% field_flex _("Material type quality") item.material_type_quality %} {% field_flex_full _("Comment on the material") item.material_comment "
" "
" %} {% field_flex_multiple_obj _("Technical processes") item 'technical_processes' %} {% field_flex_multiple_obj _("Object types") item 'object_types' %} {% field_flex _("Object type quality") item.object_type_quality %} {% field_flex_multiple_obj _("Functional areas") item 'functional_areas' %} {% field_flex_multiple_obj _("Technical areas") item 'technical_areas' %} {% field_flex_multiple_obj _("Iconographic patterns") item 'iconographic_patterns' %} {% field_flex_full _("Notes on iconography") item.iconography_notes "
" "
" %} {% field_flex _("Number of remains") item.find_number %} {% field_flex _("Minimum number of individuals (MNI)") item.min_number_of_individuals %} {% field_flex _("Inventory quantity") item.museum_inventory_quantity %} {% field_flex _("Observed quantity") item.museum_observed_quantity %} {% field_flex_full _("Comment on quantity") item.quantity_comment "
" "
" %} {% field_flex_full _("Decoration") item.decoration "
" "
" %} {% field_flex_full _("Inscription") item.inscription "
" "
" %} {% field_flex _("Manufacturing place") item.manufacturing_place %} {% field_flex_multiple_obj _("Cultural attributions") item 'cultural_attributions' %} {% field_flex_multiple_obj _("Communicability") item 'communicabilities' %} {% field_flex_full _("General comment") item.comment "
" "
" %}
{% if item.has_listed_building_section %}

{% trans "Listed building" %}

{% field_flex _("Nature of listed buildings protection") item.listed_building_protection_nature %} {% field_flex _("Listed building ID") item.listed_building_id %} {% field_flex _("Date of listing as a listed building") item.listed_building_date|date:"SHORT_DATE_FORMAT" %} {% field_flex _("Notes on listed building") item.listed_building_notes %}
{% endif %} {% if item.has_ownership_section %}

{% trans "Ownership" %}

{% field_flex _("Ownership status") item.ownership_status %} {% field_flex _("Owner") item.owner %}
{% endif %} {% if item.has_museum_section %}

{% trans "Museum / legal status" %}

{% field_flex _("Complete museum ID") item.cache_complete_museum_id %} {% field_flex _("Comment on museum ID") item.museum_id_comment %} {% field_flex_multiple_obj _("Collections") item "museum_collections" %} {% field_flex_detail_multiple _("Former collection") item.museum_former_collections %} {% field_flex_detail _("Owner institution") item.museum_owner_institution %} {% field_flex_detail _("Assigned institution") item.museum_assigned_institution %} {% field_flex_detail _("Custodian institution") item.museum_custodian_institution %} {% field_flex _("Depositor inventory number") item.museum_depositor_inventory_number %} {% field_flex _("Collections entry mode") item.museum_collection_entry_mode %} {% field_flex _("Comment on museum entry mode") item.museum_entry_mode_comment %} {% trans "Museum entry date" as museum_entry_date_label %} {% field_flex museum_entry_date_label item.museum_entry_date_label %} {% field_flex _("Comment on museum entry date") item.museum_entry_date_comment %} {% field_flex_detail_multiple _("Donors, testators or vendors") item.museum_donors %} {% field_flex_multiple_obj _("Workshop, movement, style") item 'workshop_movement_styles' %} {% field_flex_multiple_obj _("Presence of inventory marking") item "museum_inventory_marking_presence" %} {% field_flex_multiple_obj _("Type of marking") item "museum_marking_type" %} {% field_flex _("Transcription of the marking") item.mark_text %} {% field_flex _("Marking details") item.mark "
" "
" %} {% field_flex _("Conformity with inventory") item.museum_inventory_conformity %} {% field_flex _("Comment on conformity") item.museum_conformity_comment %} {% field_flex _("Inventory entry year") item.museum_inventory_entry_year %} {% field_flex_full _("Inventory transcript") item.museum_inventory_transcript %} {% field_flex _("Original/reproduction") item.museum_original_repro %} {% field_flex _("Date of museum allocation") item.museum_allocation_date|date:"SHORT_DATE_FORMAT" %} {% field_flex _("Purchase price") item.museum_purchase_price %}
{% endif %} {% if item.length or item.width or item.height or item.diameter or item.thickness or item.volume or item.weight_string or item.dimensions_comment or item.clutter_long_side or item.clutter_short_side or item.clutter_height %}

{% trans "Dimensions" %}

{% field_flex _("Length (cm)") item.length %} {% field_flex _("Width (cm)") item.width %} {% field_flex _("Height (cm)") item.height %} {% field_flex _("Thickness (cm)") item.thickness %} {% field_flex _("Diameter (cm)") item.diameter %} {% field_flex _("Circumference (cm)") item.circumference %} {% field_flex _("Volume (l)") item.volume %} {% trans "Weight (g)" as weight_label %} {% field_flex weight_label item.weight_string %} {% field_flex _("Clutter long side (cm)") item.clutter_long_side %} {% field_flex _("Clutter short side (cm)") item.clutter_short_side %} {% field_flex _("Clutter height (cm)") item.clutter_height %} {% field_flex_full _("Dimensions comment") item.dimensions_comment "
" "
" %}
{% endif %} {% if has_image %}
{% endif %} {% if not is_external %} {% if item.history_creator or item.last_edition_date or item.created or item.editors.count %}

{% trans "Sheet" %}

{% trans "Checked" as checked_label %} {% field_flex checked_label item.checked_type %} {% with item.check_date|date:"SHORT_DATE_FORMAT" as check_date %} {% if check_date %}{% field_flex _("Check date") check_date %}{% endif %} {% endwith %} {% include "ishtar/blocks/sheet_creation_section.html" %}
{% endif %} {% endif %}
{% if is_external %} {% for base_find in item.base_finds_list %} {% with first=forloop.first %} {% include "ishtar/sheet_basefind.html" %} {% endwith %} {% endfor %} {% else %} {% for base_find in item.base_finds.all %} {% with first=forloop.first %} {% include "ishtar/sheet_basefind.html" %} {% endwith %} {% endfor %} {% endif %}
{% if display_relations %}
{% with relation_url="/show-find/" %} {% include "ishtar/blocks/sheet_relations.html" %} {% endwith %}
{% endif %}

{% trans "Periods / Datings" %}

{% field_flex_multiple_obj _("Periods") item 'periods' %} {% field_flex_multiple_obj _("Cultural attributions") item 'cultural_attributions' %} {% field_flex _("TAQ") item.taq %} {% field_flex _("Estimated TAQ") item.taq_estimated %} {% field_flex _("TPQ") item.tpq %} {% field_flex _("Estimated TPQ") item.tpq_estimated %} {% field_flex_full _("Comment on datings") item.dating_comment "
" "
" has_image %}
{% with url_dating="find-dating" %} {% include "ishtar/blocks/sheet_dating_list.html" %} {% endwith %}
{% include "ishtar/sheet_find_treatments.html" %} {% if display_documents %}
{% with permission_change_item=item|can_edit_item:request %} {% include "ishtar/blocks/sheet_document_list.html" %} {% endwith %}
{% endif %} {% if not is_external and SHOW_GEO %}

{% trans "Geographic data" %}

{% with find_id=item.pk %} {% for base_find in item.base_finds.all %} {% with geo_item=base_find %}

{% if base_find.complete_identifier %}{{ base_find.complete_identifier }}{% else %}{{base_find.short_id}}{% endif %}

{% with current_geolabel=base_find %} {% include "ishtar/blocks/sheet_geographic.html" %} {% endwith %} {% endwith %} {% endfor %} {% endwith %}
{% endif %} {% if item.data and item.data|length > 0 %}
{% with json_show_no_data=True %} {% include "ishtar/blocks/sheet_json.html" %} {% endwith %}
{% endif %}
{% endwith %}{% endwith %}{% endwith %}{% endwith %}{% endwith %}{% endwith %}{% endwith %}{% endwith %}{% endwith %}{% endwith %}{% endwith %}{% endwith %}{% endwith %}{% endwith %}{% endwith %}{% endwith %} {% endblock %}