{% extends "personnes/base.html" %}
{% block extrascripts %}
{{ block.super }}
{% endblock %}
{% block appbar %}
{% if active_list %}
Identifiant |
Courriel |
Fiche Personnel |
Roles |
Supprimer |
{% for object in active_list %}
{{object.username}} |
{{object.email}} |
{% with worker=object.userworker.worker %}
{% if worker %}{{ worker }}{% else %}-{% endif %} |
{% endwith %}
{% for role in object.groups.all %}{{ role.name }} {% endfor %} |
|
{% endfor %}
{% else %}
Il n'y a aucun compte actif
{% endif %}
{% if inactive_list %}
Comptes désactivés
Identifiant |
Courriel |
Fiche Personnel |
{% for object in object_list %}
{% if not object.is_active %}
{{object.username}} |
{{object.email}} |
{% firstof object.userworker.worker "-" %} |
|
{% endif %}
{% endfor %}
{% endif %}
{% endblock %}
{% block dialogs %}