{% 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 %} {% if public_access or perms.telemeta.can_play_all_items %} {% endif %} {% endif %} {% if item.file %} {% if public_access 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 %} {% trans "Edit" %} {% trans "Copy" %} {% endif %} {% if user.is_authenticated %} {% trans "Add to playlist" %} {% endif %} {% trans "Previous" %} {% trans "Next" %} Dublin Core
{% endblock %} {% block content %}
{% if item.file %} {% if public_access or perms.telemeta.can_play_all_items %}
Minimize </>
{% 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 %}

download {% trans "Download:" %} {% for format in export_formats %} {{ format.extension }} {% endfor %}

{% endif %}
{% endif %} {% 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 }}
{% 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 %}
{% if last_revision %}
{% trans "Last modification" %}
{{ last_revision.time }} {% if user.is_authenticated %}({{last_revision.user.username}}){% endif %}
{% endif %}
{% endblock general_info %}
{% block geoethnic_data %}

{% trans "Geographic and cultural informations" %}

{% trans "Location" %}
{% if item.location %}{{ item.location.fullnames|join:"
" }}{% endif %}
{% dl_field item "location_comment" %} {% dl_field item "cultural_area" %} {% dl_field item "language" %} {% if item.language_iso %}
{% trans "Language ISO" %}
{{ 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" %}

{% 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 general_data %}

{% trans "General informations" %}

{% trans "Remarks" %}
{{ item.comment|html_line_break|safe }}
{% dl_field item "collector_selection" %}
{% endblock general_data %}
{% block archive_data %}

{% trans "Archiving data" %}

{% dl_field item "code" %} {% dl_field item "old_code" %} {% dl_field item "track" %} {% dl_field item "creator_reference" %}
{% trans "Published references" %}
{{ item.external_references|html_line_break|safe }}
{% dl_field item "public_access_label" %}
{% endblock archive_data %}
{% block technical_data %}

{% trans "Technical data" %}

{% trans "Media type" %}
{% trans mime_type|mime_to_media_type %}
{% dl_field item "approx_duration" %} {% if physical_format %} {% dl_field physical_format "original_code" %} {% dl_field physical_format "tape_number" %} {% dl_field physical_format "status" %} {% dl_field physical_format "conservation_state" %} {% dl_field physical_format "tape_length" %} {% dl_field physical_format "tape_width" %} {% dl_field physical_format "tape_speed" %} {% dl_field physical_format "tape_vendor" %} {% dl_field physical_format "tape_thickness" %} {% dl_field physical_format "tape_diameter" %} {% dl_field physical_format "tape_reference" %}
{% trans "Remarks" %}
{{ physical_format.comments|html_line_break|safe }}
{% endif %}
{% endblock technical_data %}
{% endblock infos %}
{% if related_media %}
{% block related %} {% include "telemeta/inc/mediaitem_related.html" %} {% endblock related %}
{% endif %} {% endblock %} {% block delete %} {% if user.is_authenticated and perms.telemeta.delete_mediaitem %} {% trans "Delete" %} {% endif %} {% endblock %} {% else %}

No such item

{% endif %}