{% extends "gestion/base.html" %} {% load static %} {% load i18n %} {% block titre %}{{p}}{% endblock %} {% get_current_language as current_language %} {% load autotranslate %} {% block content %}

{{p.nom}} - {{p.auteur}} [{% autotranslate current_language p.category.name p.category.nom_en %}] :

{% if suppression %}

{{ suppression }}

{% endif %}
{% for p in part %} {% if user.is_authenticated and ".mscz" in p.part.url %} {% if user.is_authenticated %} {% endif %} {% if user.profile.is_chef %} {% endif %} {% endif %} {% endfor %} {% for p in part %} {% if user.is_authenticated and not ".mscz" in p.part.url %} {% if user.is_authenticated and ".pdf" in p.part.url %} {% elif user.is_authenticated and ".mp3" in p.part.url %} {% else %} {% endif %} {% if user.is_authenticated %} {% endif %} {% if user.profile.is_chef %} {% endif %} {% endif %} {% empty %}

{% blocktrans %}Pas de partitons pour le moment !{% endblocktrans %}

{% endfor %}

{{ p.nom }}

{% trans "Télécharger" %} {% trans "Supprimer" %}
{{ p.nom }}{{ p.nom }}

{{ p.nom }}

{% trans "Télécharger" %} {% trans "Supprimer" %}
{% if user.profile.is_chef %}

{% trans "Ajouter un média" %}

{% if infos or infos_en %}

{% trans "Infos utiles :" %}

{% autotranslate current_language infos infos_en %}
{% endif %} {% endif %}

{% if user.profile.is_chef %}
{% csrf_token %} {{ form.as_p }}
{% else %} {% if infos or infos_en %}

{% trans "Infos utiles :" %}

{% autotranslate current_language infos infos_en %}
{% endif %} {% endif %} {% if p.url %} {% endif %}
{% trans "Retour au répertoire" %}
{% endblock %}