{% extends "users/sidebar.html" %} {% comment %} Re2o est un logiciel d'administration développé initiallement au rezometz. Il se veut agnostique au réseau considéré, de manière à être installable en quelques clics. Copyright © 2017 Gabriel Détraz Copyright © 2017 Goulven Kermarec Copyright © 2017 Augustin Lemesle This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. {% endcomment %} {% load bootstrap3 %} {% load acl %} {% block title %}Profil{% endblock %} {% block content %}

{{ users.surname }} {{users.name}}

Vous êtes {% if users.end_adhesion != None %} un {{ users.class_name | lower}} {% else %} non adhérent {% endif %} et votre connexion est {% if users.has_access %} active. {% else %} désactivée. {% endif %}

Editer Changer le mot de passe {% can_change User state %} Changer le statut {% acl_end %} {% can_change User groups %} Gérer les groupes {% acl_end %} Historique


{% if users.end_adhesion != None %} {% else %} {% endif %} {% if users.end_whitelist != None %} {% else %} {% endif %} {% if users.end_ban != None %} {% else %} {% endif %} {% if users.state == 0 %} {% elif users.state == 1 %} {% else %} {% endif %} {% if users.has_access == True %} {% else %} {% endif %} {% if users.groups.all %} {% else %} {% endif %} {% if allow_online_payment %} {% endif %} {% if users.shell %} {% endif %}
Prénom {{ users.name }} Nom {{ users.surname }}
Pseudo {{ users.pseudo }} E-mail {{ users.email }}
Chambre {{ users.room }} Téléphone {{ users.telephone }}
École {{ users.school }} Commentaire {{ users.comment }}
Date d'inscription {{ users.registered }} Dernière connexion {{ users.last_login }}
Fin d'adhésion{{ users.end_adhesion }}Non adhérentAccès gracieux{{ users.end_whitelist }}Aucun
Bannissement{{ users.end_ban }}Non banniStatutActifDésactivéArchivé
Accès internetActif (jusqu'au {{ users.end_access }})DésactivéGroupes{{ users.groups.all|join:", "}}Aucun
Solde {{ users.solde }} € Recharger Shell {{ users.shell }}
{% if users.is_class_club %}
Gérer admin et membres

Administrateurs du club

{% for admin in users.club.administrators.all %} {% endfor %}
Nom Prenom Pseudo
{{ admin.surname }} {{ admin.name }} {{ admin.pseudo }}

Membres

{% for admin in users.club.members.all %} {% endfor %}
Nom Prenom Pseudo
{{ admin.surname }} {{ admin.name }} {{ admin.pseudo }}
{% endif %}

Ajouter une machine

{% if machines_list %} {% include "machines/aff_machines.html" with machines_list=machines_list %} {% else %}

Aucune machine

{% endif %}

{% can_create Facture %} Ajouter une cotisation {% if user_solde %} Modifier le solde{% endif%}{% acl_else %}{% if user_solde %} Ajouter une cotisation par solde{% endif %}{% acl_end %}

{% if facture_list %} {% include "cotisations/aff_cotisations.html" with facture_list=facture_list %} {% else %}

Aucune facture

{% endif %}
{% can_create Ban %}

Ajouter un bannissement

{% acl_end %} {% if ban_list %} {% include "users/aff_bans.html" with ban_list=ban_list %} {% else %}

Aucun bannissement

{% endif %}
{% can_create Whitelist %}

Accorder un accès à titre gracieux

{% acl_end %} {% if white_list %} {% include "users/aff_whitelists.html" with white_list=white_list %} {% else %}

Aucun accès gracieux

{% endif %}



{% endblock %}