{% extends "telemeta/base.html" %} {% load i18n %} {% load telemeta_utils %} {% block head_title %}{% trans "Collection" %}{{collection|prepend:' : '}} - {{ block.super }}{% endblock %} {% block extra_javascript %} {% endblock %} {% if collection %} {% block title %} Collection : {{ collection.title }} {% endblock %} {% block title_buttons %}
{% if user.is_authenticated and perms.telemeta.change_mediaitem %} {% endif %} {% if user.is_authenticated %} {% endif %} {% if user.is_authenticated and perms.telemeta.change_mediacollection %} {% if audio_export_enabled or perms.telemeta.can_download_all_items or user.is_superuser %} {% endif %} {% endif %}
{% endblock %} {% block content %}
{% block infos %}
{% if collection.items.count %}{{ collection.items.count }} {% ifequal collection.items.count 1 %}item{% else %}items{% endifequal %} ({% trans "View list" %}){% else %}No item{% endif %}
{% block general_info %}
{% dl_field collection "title" %} {% dl_field collection "alt_title" %} {% if collection.creator %} {% dl_field collection "creator" placeholder %} {% endif %}
{% trans "Document status" %}
{{ collection.document_status }}
{% if collection.description %} {% dl_field collection "description" %} {% endif %} {% dl_field collection "recording_context" %}
{% trans "Recording period" %}
{% if collection.recorded_from_year %}{{ collection.recorded_from_year }}{% endif %}{% if collection.recorded_from_year and collection.recorded_to_year %} - {% endif %}{% if collection.recorded_to_year %}{{ collection.recorded_to_year}}{% endif %}
{% if '_E_' in collection.public_id %} {% dl_field collection "year_published" placeholder %} {% endif %}
{% trans "Access type" %}
{% trans collection.public_access %}
{% for parent in parents %}
{% trans parent.element_type|capitalize %}
{{ parent.title }}
{% endfor %}
{% endblock general_info %}
{% block geoethnic_data %}

{% trans "Geographic and cultural informations" %}

{% dl_field collection "main_countries" join with ", " %} {% dl_field collection "ethnic_groups" join with ", " placeholder %}
{% endblock geoethnic_data %}
{% block legal_data %}

{% trans "Legal notices" %}

{% if collection.collector_is_creator %} {% if collection.creator %}
{% trans "Recordist" %}
{{ collection.creator }}
{% endif%} {% else %} {% dl_field collection "collector" %} {% endif %} {% if collection.publisher %} {% dl_field collection "publisher" %} {% endif %} {% dl_field collection "publisher_collection" %} {% dl_field collection "publisher_serial" %} {% dl_field collection "booklet_author" %} {% if '_E_' in collection.public_id %} {% dl_field collection "reference" %} {% endif %} {% if collection.external_references %}
{% trans "Bibliographic references" %}
{{ collection.external_references|html_line_break|safe }}
{% endif %} {% dl_field collection "legal_rights" %}
{% endblock legal_data %}
{% block archive_data %}

{% trans "Archiving data" %}

{% dl_field collection "code" %} {% dl_field collection "old_code" %} {% dl_field collection "acquisition_mode" %} {% dl_field collection "cnrs_contributor" %} {% dl_field collection "copy_type" %} {% dl_field collection "metadata_author" %} {% if collection.booklet_description %}
{% trans "Related documentation" %}
{{ collection.booklet_description|html_line_break|safe }}
{% endif %} {% dl_field collection "publishing_status" %} {% dl_field collection "status" %} {% if collection.alt_copies %} {% dl_field collection "alt_copies" %} {% endif %}
{% trans "Comments" %}
{{ collection.comment|html_line_break|safe }}
{% dl_field collection "metadata_writer" %} {% if last_revision %}
{% trans "Last modification" %}
{{ last_revision.time }} {% if user.is_authenticated %}({{last_revision.user.username}}){% endif %}
{% endif %} {% dl_field collection "archiver_notes" %} {% dl_field collection "items_done" %} {% dl_field collection "conservation_site" %}
{% endblock archive_data %}
{% block technical_data %}

{% trans "Technical data" %}

{% dl_field collection "media_type" %} {% if not collection.computed_duration %} {% dl_field collection "approx_duration" %} {% endif %} {% dl_field collection "computed_duration" %}
{% trans "Collection size" %}
{{ collection.computed_size|filesizeformat }}
{% dl_field collection "physical_items_num" %}
{% trans "Number of items" %}
{{ collection.items.count }}
{% dl_field collection "original_format" %} {% if collection.physical_format %} {% dl_field collection "physical_format" %} {% endif %} {% dl_field collection "ad_conversion" %}
{% endblock technical_data %}
{% if related_media %}
{% block related %} {% include "telemeta/inc/collection_related.html" %} {% endblock related %}
{% endif %}

Items

{% with "1" as location_name %} {% include "telemeta/inc/mediaitem_list.html" %} {% endwith %}
{% endblock infos %}
{% block dublincore %} {% endblock dublincore %} {% endblock content %} {% block delete %} {% if user.is_authenticated and perms.telemeta.delete_mediacollection %} {% endif %} {% endblock %} {% else %}

No such collection

{% endif %}