{% extends "docbow/base_user.html" %} {% load crispy_forms_tags %} {% load i18n %} {% block title %} {% trans "Delegations" %} {% endblock %} {% block extra_scripts %} {{ form.media }} {% endblock %} {% block main-column %} {% if delegations %}
{% csrf_token %}

{% trans "Delegations" %}

{% for delegation in delegations %} {% if delegation.journals %} {% else %} {% if delegation.to.date_joined != delegation.to.last_login %} {% else %} {% endif %} {% endif %} {% endfor %}
Prénom Nom Courriel Identifiant
{{ delegation.to.first_name }} {{ delegation.to.last_name }} {{ delegation.to.email }} {{ delegation.to.username }}
Dernière(s) connexion(s): {% for connection_time in delegation.journals %} {{ connection_time }} {% if not forloop.last %}, {% endif %} {% endfor %}Dernière connexion: {{ delegation.to.last_login }}Aucune connexion.
{% endif %}

{% trans "Create a new delegation" %}

{% with form.helper as helper %} {% crispy form helper %} {% endwith %}

{% trans "Received delegations" %}