{% load telemeta_tags %} {% load i18n %}
{% trans "Filters" %}
{% if facets.fields.item_status %} {% for item_status in facets.fields.item_status %} {% endfor %} {% if Published_count == 0 %} {% endif %} {% if Unpublished_count == 0 %} {% endif %} {% else %} {% endif %} {% if facets.fields.digitized %} {% for digitized in facets.fields.digitized %} {% ifequal digitized.0 'T' %} {% endifequal %} {% endfor %} {% if digitized_count == 0 %} {% endif %} {% else %} {% endif %} {% if facets.fields.item_acces %} {% if viewable_count != 0 %} {% endif %} {% if viewable_count == 0 %} {% endif %} {% comment %} {% for item_acces in facets.fields.item_acces %} {# Faire un booleen dans la vue, le passer en contexte puis verifier si il est a true ou a false pour l'affichage' #} {% ifequal item_acces.0 'none' %} {% endifequal %} {% endfor %} {%endcomment%} {% else %} {% endif %}
{% trans "Item Status" %}{{ item_status.0 }} {{ item_status.1 }} {% trans "Published" %} 0 {% trans "Unpublished" %} 0{% trans "Item Status" %} {% trans "None" %}
{% trans "Player Status" %}Sound {{ digitized.1 }} {% trans "Sound" %} 0{% trans "Player Status" %} {% trans "None" %}
{% trans "Access Right" %}viewable {{viewable_count}}{% trans "viewable" %} {{viewable_count}}{{ item_acces.0 }} {{ item_acces.1 }}{% trans "Access Right" %} {% trans "None" %}
{% trans "Other Filters" %}
{% if facets.fields.media_type %} {% for media_type in facets.fields.media_type %} {% ifequal media_type.0 'Audio'%} {% endifequal %} {% ifequal media_type.0 'Video'%} {% endifequal %} {% endfor %} {% if Video_count == 0 %} {% endif %} {% if Audio_count == 0 %} {% endif %} {% endif %} {% if facets.fields.recording_context %} {% for recording_context in facets.fields.recording_context %} {% ifequal recording_context.0 'Studio'%} {% endifequal %} {% ifequal recording_context.0 'Radio'%} {% endifequal %} {% ifequal recording_context.0 'Terrain'%} {% endifequal %} {% endfor %} {% if Terrain_count == 0 %} {% endif %} {% if Radio_count == 0 %} {% endif %} {% if Studio_count == 0 %} {% endif %} {% endif %} {% if facets.fields.physical_format %} {% for physical_format in facets.fields.physical_format %} {% ifequal physical_format.0 'CDR'%} {% endifequal %} {% ifequal physical_format.0 'Disque'%} {% endifequal %} {% ifequal physical_format.0 'Cylindre'%} {% endifequal %} {% endfor %} {% if CDR_count == 0 %} {% endif %} {% if Disque_count == 0 %} {% endif %} {% if Cylindre_count == 0 %} {% endif %} {% endif %}
{% trans "Media Type" %}{{ media_type.0 }} {{ media_type.1 }}{{ media_type.0 }} {{ media_type.1 }} {% trans "Video" %} 0 {% trans "Audio" %} 0
{% trans "Recording Context" %}{{ recording_context.0 }} {{ recording_context.1 }}{{ recording_context.0 }} {{ recording_context.1 }}{{ recording_context.0 }} {{ recording_context.1 }} {% trans "Terrain" %} 0 {% trans "Radio" %} 0 {% trans "Studio" %} 0
{% trans "Physical Format" %}{{ physical_format.0 }} {{ physical_format.1 }}{{ physical_format.0 }} {{ physical_format.1 }}{{ physical_format.0 }} {{ physical_format.1 }} {% trans "CDR" %} 0 {% trans "Disque" %} 0 {% trans "Cylindre" %} 0
{% if selected_facets %}

selected filters : {{selected_facets|join:" + "}}» Remove All Filters

{% endif %}