{% extends "gestion/base.html" %} {% load static %} {% load i18n %} {% block titre %}{% trans "Instruments" %}{% endblock %} {% block content %}
{% if photo %}
{% if photo.url %} {% if photo.auteur %}{{photo.auteur}}{%endif%} {% elif photo.auteur %} {% endif %}
{% else %}
{% endif %}
{% if user.profile.is_chef %} {% trans "Ajouter un instrument" %} {% endif %}

{% trans "Instruments Disponibles :" %}

{% for instrument in instrus_dispo %} {% endfor %}
{% trans "Intrument" %} {% trans "Propriétaire" %} {% trans "Etat" %}
{{ instrument.type }} {{ instrument.owner }} {{ instrument.etat }} {% trans "Consulter" %} {% if user.profile.is_chef %} {% trans "Supprimer" %} {% endif %}

{% trans "Instruments Prêtés :" %}

{% for instrument in instrus_prete %} {% endfor %}
{% trans "Intrument" %} {% trans "Propriétaire" %} {% trans "Utilisateur" %} {% trans "Etat" %}
{{ instrument.type }} {{ instrument.owner }} {{ instrument.user }} {{ instrument.etat}} {% trans "Consulter" %} {% if user.profile.is_chef %} {% trans "Supprimer" %} {% endif %}
{% endblock %}