{% extends "telemeta/base.html" %} {% load telemeta_utils %} {% load i18n %} {% block head_title %}{% trans "Item" %} : {% if item.title %}{{ item.title }}{% else %}{{ item.public_id}}{% endif %} - {{ block.super }}{% endblock %} {% block stylesheets %} {{ block.super }} {% endblock %} {% block extra_javascript %} {% if item %} {% if item.file or item.url %} {% if access == 'full' or perms.telemeta.can_play_all_items %} {% endif %} {% endif %} {% if "video" in mime_type %} {% endif %} {% endif %} {% endblock %} {% if item %} {% block title %}
item Item : {{ item }}
{% endblock %} {% block title_buttons %}
{% if user.is_authenticated and perms.telemeta.change_mediaitem %} {% endif %} {% if user.is_authenticated %} {% endif %}
{% endblock title_buttons %} {% block content %} {% if access == 'none' and not perms.telemeta.can_play_all_items %}
{% trans "This archive is not available online, please contact the CREM. Thank you."%}
{% else %}
{% if item.file or item.url %} {% block player %} {% if access == 'full' or perms.telemeta.can_play_all_items %}
{% if "video" in mime_type %}
{% endif %}
{% trans "Property" %} {% trans "Value" %} {% trans "Unit" %}
{% if audio_export_enabled or perms.telemeta.can_download_all_items or user.is_superuser %}
{% for format in export_formats %} {{ format.extension }} {% endfor %}
{% endif %}
{% else %}
{% trans "You don't have access to the media of this item." %} {% trans "Please contact the administrators to get more rights." %} {% trans "Click here" %}
{% endif %} {% endblock player %} {% endif %} {% block infos %}
{% block general_info %}
{% dl_field item "title" placeholder %} {% dl_field item "alt_title" %} {% dl_field item "collector" placeholder %}
{% field_label item "collection" %}
{{ item.collection.title }}
{% trans "Recording date" %}
{% if item.recorded_from_date %}{{ item.recorded_from_date }}{% endif %}{% if item.recorded_from_date and item.recorded_to_date%} - {% endif %}{% if item.recorded_to_date %}{{ item.recorded_to_date}}{% endif %}
{% trans "Access type" %}
{% trans item.public_access %}
{% endblock general_info %}
{% block geoethnic_data %}

{% trans "Geographic and cultural informations" %}

{% trans "Location" %}
{% if item.location %}{{ item.location.name }}{% endif %}
{% dl_field item "location_comment" %} {% dl_field item "cultural_area" %} {% dl_field item "language" %} {% if item.language_iso %}
{% trans "Language (ISO norm)" %}
{{ item.language_iso.name|to_utf8 }}
{% endif %} {% dl_field item "ethnic_group" placeholder %}
{% trans "Ethnographic context" %}
{{ item.context_comment|html_line_break|safe }}
{% dl_field item "keywords" join with ", " %}
{% endblock geoethnic_data %}
{% block musical_data %}

{% trans "Musical informations" %}

{% if item.moda_execut %} {% dl_field item "moda_execut" %} {% endif %} {% dl_field item "vernacular_style" %} {% dl_field item "generic_style" %} {% dl_field item "author" %}
{% if item.performances %}
{% for performance in item.performances.all %} {% endfor %}
{% field_label "MediaItemPerformance" "instruments_num" %} {% field_label "MediaItemPerformance" "instrument" %} {% field_label "MediaItemPerformance" "alias" %} {% field_label "MediaItemPerformance" "musicians" %}
{{ performance.instruments_num }} {{ performance.instrument|default:"" }} {{ performance.alias|default:"" }} {{ performance.musicians }}
{% endif %}
{% endblock musical_data %}
{% block archive_data %}

{% trans "Archiving data" %}

{% dl_field item "code" %} {% dl_field item "old_code" %} {% dl_field item "track" %} {% dl_field item "collector_selection" %} {% dl_field item "creator_reference" %} {% if item.external_references %}
{% trans "Published references" %}
{{ item.external_references|html_line_break|safe }}
{% endif %}
{% trans "Remarks" %}
{{ item.comment|html_line_break|safe }}
{% if last_revision %}
{% trans "Last modification" %}
{{ last_revision.time }} {% if user.is_authenticated %}({{last_revision.user.username}}){% endif %}
{% endif %}
{% endblock archive_data %}
{% block technical_data %}

{% trans "Technical data" %}

{% dl_field item "media_type" %} {% if not item.file %} {% dl_field item "approx_duration" %} {% endif %} {% if item.size %}
{% trans "Item size" %}
{{ item.size|filesizeformat }}
{% endif %}
{% endblock technical_data %}
{% endblock infos %}
{% if related_media %}
{% block related %} {% include "telemeta/inc/mediaitem_related.html" %} {% endblock related %}
{% endif %} {% if auto_zoom %} {% endif %} {% block dublincore %} {% endblock dublincore %} {% endif %} {% endblock content %} {% block delete %} {% if user.is_authenticated and perms.telemeta.delete_mediaitem %} {% endif %} {% endblock %} {% else %}

No such item

{% endif %}