diff --git a/cotisations/templates/cotisations/aff_article.html b/cotisations/templates/cotisations/aff_article.html index ad044f55..3ed4568c 100644 --- a/cotisations/templates/cotisations/aff_article.html +++ b/cotisations/templates/cotisations/aff_article.html @@ -24,6 +24,7 @@ with this program; if not, write to the Free Software Foundation, Inc., {% load acl %} {% load i18n %} +{% load logs_extra %}
{{ article.type_user }} | {{ article.available_for_everyone }} | - {% can_edit article %} + {% can_edit article %} - {% acl_end %} - - - + {% acl_end %} + {% history_button article %} | {% endfor %} diff --git a/cotisations/templates/cotisations/aff_banque.html b/cotisations/templates/cotisations/aff_banque.html index d9ec8d1c..b5074c6c 100644 --- a/cotisations/templates/cotisations/aff_banque.html +++ b/cotisations/templates/cotisations/aff_banque.html @@ -24,6 +24,7 @@ with this program; if not, write to the Free Software Foundation, Inc., {% load acl %} {% load i18n %} +{% load logs_extra %}
{{ banque.name }} | - {% can_edit banque %} - + {% can_edit banque %} + - {% acl_end %} - - - + {% acl_end %} + {% history_button banque %} |
Alias | -- |
---|
{{ alias }} | -- {% can_edit alias %} - {% include 'buttons/edit.html' with href='machines:edit-alias' id=alias.id %} - {% acl_end %} - {% include 'buttons/history.html' with href='machines:history' name='domain' id=alias.id %} - | +Alias | +
---|
Extension | Droit infra pour utiliser ? | -Enregistrement SOA | -Enregistrement A origin | - {% if ipv6_enabled %} -Enregistrement AAAA origin | - {% endif %} -+ | Enregistrement SOA | +Enregistrement A origin | + {% if ipv6_enabled %} +Enregistrement AAAA origin | + {% endif %} +||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ extension.name }} | {{ extension.need_infra }} | {{ extension.soa}} | -{{ extension.origin }} | +{{ extension.origin }} | {% if ipv6_enabled %}{{ extension.origin_v6 }} | {% endif %}- {% can_edit extension %} + {% can_edit extension %} {% include 'buttons/edit.html' with href='machines:edit-extension' id=extension.id %} - {% acl_end %} - {% include 'buttons/history.html' with href='machines:history' name='extension' id=extension.id %} + {% acl_end %} + {% history_button extension %} |
Extension | Nécessite l'autorisation infra | Plage ipv4 | -Préfixe v6 | +Préfixe v6 | Sur vlan | -Ouverture ports par défault | -+ | Ouverture ports par défault | +@@ -43,15 +44,15 @@ with this program; if not, write to the Free Software Foundation, Inc., | {{ type.type }} | {{ type.extension }} | {{ type.need_infra }} | -{{ type.domaine_ip_start }}-{{ type.domaine_ip_stop }} | -{{ type.prefix_v6 }} | +{{ type.domaine_ip_start }}-{{ type.domaine_ip_stop }} | +{{ type.prefix_v6 }} | {{ type.vlan }} | -{{ type.ouverture_ports }} | +{{ type.ouverture_ports }} | - {% can_edit type %} + {% can_edit type %} {% include 'buttons/edit.html' with href='machines:edit-iptype' id=type.id %} - {% acl_end %} - {% include 'buttons/history.html' with href='machines:history' name='iptype' id=type.id %} + {% acl_end %} + {% history_button type %} | {% endfor %} diff --git a/machines/templates/machines/aff_ipv6.html b/machines/templates/machines/aff_ipv6.html index b6efa3f0..d5323f61 100644 --- a/machines/templates/machines/aff_ipv6.html +++ b/machines/templates/machines/aff_ipv6.html @@ -23,29 +23,30 @@ with this program; if not, write to the Free Software Foundation, Inc., {% endcomment %} {% load acl %} +{% load logs_extra %} -
---|
Ipv6 | -Slaac | -- |
---|
{{ ipv6.ipv6 }} | -{{ ipv6.slaac_ip }} | -- {% can_edit ipv6 %} - {% include 'buttons/edit.html' with href='machines:edit-ipv6list' id=ipv6.id %} - {% acl_end %} - {% can_delete ipv6 %} - {% include 'buttons/suppr.html' with href='machines:del-ipv6list' id=ipv6.id %} - {% acl_end %} - {% include 'buttons/history.html' with href='machines:history' name='ipv6list' id=ipv6.id %} - | +Ipv6 | +Slaac | +
---|
{% include "buttons/sort.html" with prefix='machine' col='name' text='Nom DNS' %} | -Type | -MAC | -IP | -Actions | - - {% for machine in machines_list %} -
---|---|---|---|---|
- {{ machine.name|default:'Pas de nom' }} - - {{ machine.user }} - - | -- {% can_create Interface machine.id %} - {% include 'buttons/add.html' with href='machines:new-interface' id=machine.id desc='Ajouter une interface' %} - {% acl_end %} - {% include 'buttons/history.html' with href='machines:history' name='machine' id=machine.id %} - {% can_delete machine %} - {% include 'buttons/suppr.html' with href='machines:del-machine' id=machine.id %} - {% acl_end %} - | -|||
- {% if interface.domain.related_domain.all %} - {{ interface.domain }} - - {% else %} - {{ interface.domain }} - {% endif %} - | -- {{ interface.type }} - | -- {{ interface.mac_address }} - | -
- IPv4 {{ interface.ipv4 }}
- - {% if ipv6_enabled and interface.ipv6 != 'None'%} - IPv6 - - {% endif %} - |
-
-
-
- |
Type de machine | -Type d'ip correspondant | -- |
---|
{{ type.type }} | -{{ type.ip_type }} | -- {% can_edit type %} - {% include 'buttons/edit.html' with href='machines:edit-machinetype' id=type.id %} - {% acl_end %} - {% include 'buttons/history.html' with href='machines:history' name='machinetype' id=type.id %} - | +Type de machine | +Type d'ip correspondant | +
---|
Zone concernée | -Priorité | -Enregistrement | -- | - |
---|
{{ mx.zone }} | -{{ mx.priority }} | -{{ mx.name }} | -+ | Zone concernée | +Priorité | +Enregistrement | ++ | + |
---|---|---|---|---|---|---|---|---|
{{ mx.zone }} | +{{ mx.priority }} | +{{ mx.name }} | +{% can_edit mx %} {% include 'buttons/edit.html' with href='machines:edit-mx' id=mx.id %} - {% acl_end %} - {% include 'buttons/history.html' with href='machines:history' name='mx' id=mx.id %} - | -
Nom | -Type du nas | -Type de machine reliées au nas | -Mode d'accès | -Autocapture mac | -- |
---|
{{ nas.name }} | -{{ nas.nas_type }} | -{{ nas.machine_type }} | -{{ nas.port_access_mode }} | -{{ nas.autocapture_mac }} | -- {% can_edit nas %} - {% include 'buttons/edit.html' with href='machines:edit-nas' id=nas.id %} - {% acl_end %} - {% include 'buttons/history.html' with href='machines:history' name='nas' id=nas.id %} - | +Nom | +Type du nas | +Type de machine reliées au nas | +Mode d'accès | +Autocapture mac | +
---|
Zone concernée | -Interface autoritaire de la zone | -- | - |
---|
{{ ns.zone }} | -{{ ns.ns }} | -+ | Zone concernée | +Interface autoritaire de la zone | ++ | + |
---|---|---|---|---|---|---|
{{ ns.zone }} | +{{ ns.ns }} | +{% can_edit ns %} {% include 'buttons/edit.html' with href='machines:edit-ns' id=ns.id %} - {% acl_end %} - {% include 'buttons/history.html' with href='machines:history' name='ns' id=ns.id %} - | -
Nom du service | -Serveur | -Dernière régénération | -Régénération nécessaire | -Régénération activée | -
---|
{{ server.service }} | -{{ server.server }} | -{{ server.last_regen }} | -{{ server.asked_regen }} | -{{ server.need_regen }} | -- | +Nom du service | +Serveur | +Dernière régénération | +Régénération nécessaire | +Régénération activée |
---|
Nom du service | -Temps minimum avant nouvelle régénération | -Temps avant nouvelle génération obligatoire (max) | -Serveurs inclus | -- | - |
---|
{{ service.service_type }} | -{{ service.min_time_regen }} | -{{ service.regular_time_regen }} | -{% for serv in service.servers.all %}{{ serv }}, {% endfor %} | -- {% can_edit service %} - {% include 'buttons/edit.html' with href='machines:edit-service' id=service.id %} - {% acl_end %} - {% include 'buttons/history.html' with href='machines:history' name='service' id=service.id %} - | +Nom du service | +Temps minimum avant nouvelle régénération | +Temps avant nouvelle génération obligatoire (max) | +Serveurs inclus | ++ |
---|
Nom | -Refresh | -Retry | -Expire | -TTL | -- | - |
---|
{{ soa.name }} | -{{ soa.mail }} | -{{ soa.refresh }} | -{{ soa.retry }} | -{{ soa.expire }} | -{{ soa.ttl }} | -+ | Nom | +Refresh | +Retry | +Expire | +TTL | ++ | + | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ soa.name }} | +{{ soa.mail }} | +{{ soa.refresh }} | +{{ soa.retry }} | +{{ soa.expire }} | +{{ soa.ttl }} | +{% can_edit soa %} {% include 'buttons/edit.html' with href='machines:edit-soa' id=soa.id %} - {% acl_end %} - {% include 'buttons/history.html' with href='machines:history' name='soa' id=soa.id %} - | -
Service | -Protocole | -Extension | -TTL | -Priorité | -Poids | -Port | -Cible | -- | - |
---|
{{ srv.service }} | -{{ srv.protocole }} | -{{ srv.extension }} | -{{ srv.ttl }} | -{{ srv.priority }} | -{{ srv.weight }} | -{{ srv.port }} | -{{ srv.target }} | -- {% can_edit srv %} - {% include 'buttons/edit.html' with href='machines:edit-srv' id=srv.id %} - {% acl_end %} - {% include 'buttons/history.html' with href='machines:history' name='srv' id=srv.id %} - | +Service | +Protocole | +Extension | +TTL | +Priorité | +Poids | +Port | +Cible | ++ |
---|
Zone concernée | -Enregistrement | -- | - |
---|
{{ txt.zone }} | -{{ txt.dns_entry }} | -+ | Zone concernée | +Enregistrement | ++ | + |
---|---|---|---|---|---|---|
{{ txt.zone }} | +{{ txt.dns_entry }} | +{% can_edit txt %} {% include 'buttons/edit.html' with href='machines:edit-txt' id=txt.id %} - {% acl_end %} - {% include 'buttons/history.html' with href='machines:history' name='txt' id=txt.id %} - | -
Id | Nom | -Commentaire | +Commentaire | Ranges ip | -+ | |
---|---|---|---|---|---|---|
{{ vlan.vlan_id }} | {{ vlan.name }} | -{{ vlan.comment }} | +{{ vlan.comment }} | {% for range in vlan.iptype_set.all %}{{ range }}, {% endfor%} | -- {% can_edit vlan %} + | + {% can_edit vlan %} {% include 'buttons/edit.html' with href='machines:edit-vlan' id=vlan.id %} - {% acl_end %} - {% include 'buttons/history.html' with href='machines:history' name='vlan' id=vlan.id %} + {% acl_end %} + {% history_button vlan %} |
{% include "buttons/sort.html" with prefix='ap' col='name' text='Borne' %} | -{% include "buttons/sort.html" with prefix='ap' col='mac' text='Addresse mac' %} | -{% include "buttons/sort.html" with prefix='ap' col='ip' text='Ipv4' %} | -Commentaire | -Localisation | -- |
---|---|---|---|---|---|
{{ap.interface_set.first}} | -{{ap.interface_set.first.mac_address}} | -{{ap.interface_set.first.ipv4}} | -{{ap.interface_set.first.details}} | -{{ap.location}} | -- - - - {% can_edit ap %} - - - - {% acl_end %} - {% can_delete ap %} - - - - {% acl_end %} - | -
{% include "buttons/sort.html" with prefix='ap' col='name' text='Borne' %} | +{% include "buttons/sort.html" with prefix='ap' col='mac' text='Addresse mac' %} | +{% include "buttons/sort.html" with prefix='ap' col='ip' text='Ipv4' %} | +Commentaire | +Localisation | ++ |
---|---|---|---|---|---|
{{ap.interface_set.first}} | +{{ap.interface_set.first.mac_address}} | +{{ap.interface_set.first.ipv4}} | +{{ap.interface_set.first.details}} | +{{ap.location}} | ++ {% history_button ap %} + {% can_edit ap %} + + + + {% acl_end %} + {% can_delete ap %} + + + + {% acl_end %} + | +
{% include "buttons/sort.html" with prefix='port' col='port' text='Port' %} | +{% include "buttons/sort.html" with prefix='port' col='room' text='Room' %} | +{% include "buttons/sort.html" with prefix='port' col='interface' text='Interface machine' %} | +{% include "buttons/sort.html" with prefix='port' col='related' text='Related' %} | +{% include "buttons/sort.html" with prefix='port' col='radius' text='Radius' %} | +{% include "buttons/sort.html" with prefix='port' col='vlan' text='Vlan forcé' %} | +Détails | ++ | ||||
---|---|---|---|---|---|---|---|---|---|---|---|
{% include "buttons/sort.html" with prefix='port' col='port' text='Port' %} | -{% include "buttons/sort.html" with prefix='port' col='room' text='Room' %} | -{% include "buttons/sort.html" with prefix='port' col='interface' text='Interface machine' %} | -{% include "buttons/sort.html" with prefix='port' col='related' text='Related' %} | -{% include "buttons/sort.html" with prefix='port' col='radius' text='Radius' %} | -{% include "buttons/sort.html" with prefix='port' col='vlan' text='Vlan forcé' %} | -Détails | -- | ||||
{{ port.port }} | -- {% if port.room %}{{ port.room }}{% endif %} - | -- {% if port.machine_interface %} - {% can_view port.machine_interface.machine.user %} - + | {{ port.port }} | ++ {% if port.room %}{{ port.room }}{% endif %} + | ++ {% if port.machine_interface %} + {% can_view port.machine_interface.machine.user %} + + {{ port.machine_interface }} + + {% acl_else %} {{ port.machine_interface }} - - {% acl_else %} - {{ port.machine_interface }} - {% acl_end %} - {% endif %} - | -- {% if port.related %} - {% can_view port.related.switch %} - + {% acl_end %} + {% endif %} + | ++ {% if port.related %} + {% can_view port.related.switch %} + + {{ port.related }} + + {% acl_else %} {{ port.related }} - - {% acl_else %} - {{ port.related }} - {% acl_end %} - {% endif %} - | -{{ port.radius }} | -{% if not port.vlan_force %}Aucun{% else %}{{ port.vlan_force }}{% endif %} | -{{ port.details }} | -- - - - {% can_edit port %} - - - - {% acl_end %} - {% can_delete port %} - - - - {% acl_end %} - | -
{{ port.port }} | - {% endfor %} + {% for port in port_list|slice:"::2" %} +{{ port.port }} | + {% endfor %} -|||||
- {{ port.room }} - | - {% elif port.machine_interface %} -- {% can_view port.machine_interface.machine.user %} - + {% for port in port_list|slice:"::2" %} + {% if port.room %} + | + {{ port.room }} + | + {% elif port.machine_interface %} ++ {% can_view port.machine_interface.machine.user %} + + {{ port.machine_interface }} + + {% acl_else %} {{ port.machine_interface }} - - {% acl_else %} - {{ port.machine_interface }} - {% acl_end %} - | - {% elif port.related%} -- {% can_view port.related.switch %} - + {% acl_end %} + | + {% elif port.related%} ++ {% can_view port.related.switch %} + + {{ port.related }} + + {% acl_else %} {{ port.related }} - - {% acl_else %} - {{ port.related }} - {% acl_end %} - | - {% else %} -- Vide - | - {% endif %} - {% endfor %} - -+ Vide + | + {% endif %} + {% endfor %} -
{{ port.port }} | - {% endfor %} +||||||
{{ port.port }} | + {% endfor %} - {% for port in port_list|slice:"1::2" %} - {% if port.room %} -- {{ port.room }} - | - {% elif port.machine_interface %} -- {% can_view port.machine_interface.machine.user %} - + | ||||
+ {{ port.room }} + | + {% elif port.machine_interface %} ++ {% can_view port.machine_interface.machine.user %} + + {{ port.machine_interface }} + + {% acl_else %} {{ port.machine_interface }} - - {% acl_else %} - {{ port.machine_interface }} - {% acl_end %} - | - {% elif port.related%} -- {% can_view port.related.switch %} - + {% acl_end %} + | + {% elif port.related%} ++ {% can_view port.related.switch %} + + {{ port.related }} + + {% acl_else %} {{ port.related }} - - {% acl_else %} - {{ port.related }} - {% acl_end %} - | - {% else %} -- Vide - | - {% endif %} - {% endfor %} - -+ Vide + | + {% endif %} + {% endfor %} + +
Membres | - - {% for stack in stack_list %} - | |||
---|---|---|---|---|
{{ stack.name }} | -{{stack.stack_id}} | -{{stack.details}} | -{% for switch in stack.switch_set.all %}{{switch }} {% endfor %} | -- - - - {% can_edit stack %} - - - - {% acl_end %} - {% can_delete stack %} - - - - {% acl_end %} + + {% for stack in stack_list %} + |
{{ stack.name }} | +{{stack.stack_id}} | +{{stack.details}} | +{% for switch in stack.switch_set.all %}{{switch }} {% endfor %} | ++ {% history_button stack %} + {% can_edit stack %} + + + + {% acl_end %} + {% can_delete stack %} + + + + {% acl_end %} | -
{% include "buttons/sort.html" with prefix='switch' col='dns' text='Dns' %} | +{% include "buttons/sort.html" with prefix='switch' col='ip' text='Ipv4' %} | +{% include "buttons/sort.html" with prefix='switch' col='loc' text='Emplacement' %} | +{% include "buttons/sort.html" with prefix='switch' col='ports' text='Ports' %} | +{% include "buttons/sort.html" with prefix='switch' col='stack' text='Stack' %} | +Id stack | +Modèle | +Détails | ++ | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{% include "buttons/sort.html" with prefix='switch' col='dns' text='Dns' %} | -{% include "buttons/sort.html" with prefix='switch' col='ip' text='Ipv4' %} | -{% include "buttons/sort.html" with prefix='switch' col='loc' text='Emplacement' %} | -{% include "buttons/sort.html" with prefix='switch' col='ports' text='Ports' %} | -{% include "buttons/sort.html" with prefix='switch' col='stack' text='Stack' %} | -Id stack | -Modèle | -Détails | -+ | + + {{switch}} + + | +{{switch.interface_set.first.ipv4}} | +{{switch.switchbay}} | +{{switch.number}} | +{{switch.stack.name}} | +{{switch.stack_member_id}} | +{{switch.model}} | +{{switch.interface_set.first.details}} | ++ {% history_button switch %} + {% can_edit switch %} + {% include 'buttons/edit.html' with href='topologie:edit-switch' id=switch.pk %} + {% acl_end %} + {% can_delete switch %} + {% include 'buttons/suppr.html' with href='machines:del-machine' id=switch.id %} + {% acl_end %} + {% can_create Port %} + {% include 'buttons/add.html' with href='topologie:create-ports' id=switch.pk desc='Création de ports'%} + {% acl_end %} + |
- - {{switch}} - - | -{{switch.interface_set.first.ipv4}} | -{{switch.switchbay}} | -{{switch.number}} | -{{switch.stack.name}} | -{{switch.stack_member_id}} | -{{switch.model}} | -{{switch.interface_set.first.details}} | -- {% include 'buttons/history.html' with href='topologie:history' name='switch' id=switch.pk%} - {% can_edit switch %} - {% include 'buttons/edit.html' with href='topologie:edit-switch' id=switch.pk %} - {% acl_end %} - {% can_delete switch %} - {% include 'buttons/suppr.html' with href='machines:del-machine' id=switch.id %} - {% acl_end %} - {% can_create Port %} - {% include 'buttons/add.html' with href='topologie:create-ports' id=switch.pk desc='Création de ports'%} - {% acl_end %} - | -
ID | Details | - - {% for stack in stack_list %} -||||||
---|---|---|---|---|---|---|---|
{{stack.name}} | -{{stack.stack_id}} | -{{stack.details}} | -
-
-
-
- {% can_edit stack %}
-
+
+ {% for stack in stack_list %}
+ {{stack.name}} |
+ {{stack.stack_id}} |
+ {{stack.details}} |
+
+ {% history_button stack %}
+ {% can_edit stack %}
+
-
- {% acl_end %}
- {% can_delete stack %}
-
-
-
- {% acl_end %}
+
+ {% acl_end %}
+ {% can_delete stack %}
+
+
+
+ {% acl_end %}
|
- |
{% include "buttons/sort.html" with prefix='ban' col="user" text="Utilisateur" %} | -Raison | -{% include "buttons/sort.html" with prefix='ban' col="start" text="Date de début" %} | -{% include "buttons/sort.html" with prefix='ban' col="end" text="Date de fin" %} | -- | |||||
---|---|---|---|---|---|---|---|---|---|
{% include "buttons/sort.html" with prefix='ban' col="user" text="Utilisateur" %} | +Raison | +{% include "buttons/sort.html" with prefix='ban' col="start" text="Date de début" %} | +{% include "buttons/sort.html" with prefix='ban' col="end" text="Date de fin" %} | ++ |
---|---|---|---|---|
{{ ban.user }} | {{ ban.raison }} | {{ ban.date_start }} | {{ ban.date_end }} | - {% can_delete ban %} - {% include 'buttons/suppr.html' with href='users:del-ban' id=ban.id %} - {% acl_end %} - {% can_edit ban %} + {% can_delete ban %} + {% include 'buttons/suppr.html' with href='users:del-ban' id=ban.id %} + {% acl_end %} + {% can_edit ban %} {% include 'buttons/edit.html' with href='users:edit-ban' id=ban.id %} - {% acl_end %} - {% include 'buttons/history.html' with href='users:history' name='ban' id=ban.id %} + {% acl_end %} + {% history_button ban %} |
{{ right }} | -- {% endfor %} - |
---|
{{ user_right }} | + {% for right in right_list %} +{{ right }} | ++ {% endfor %} |
---|
{% include "buttons/sort.html" with prefix='school' col='name' text='Etablissement' %} | +{% include "buttons/sort.html" with prefix='school' col='name' text='Etablissement' %} |
---|
Nom | -Rôle | -Commentaire | -- |
---|
{{ serviceuser.pseudo }} | -{{ serviceuser.access_group }} | -{{ serviceuser.comment }} | -- {% can_delete serviceuser %} - {% include 'buttons/suppr.html' with href='users:del-serviceuser' id=serviceuser.id %} - {% acl_end %} - {% can_edit serviceuser %} - {% include 'buttons/edit.html' with href='users:edit-serviceuser' id=serviceuser.id %} - {% acl_end %} - {% include 'buttons/history.html' with href='users:history' name='serviceuser' id=serviceuser.id %} - | +Nom | +Rôle | +Commentaire | +
---|
Shell | -- |
---|
{{ shell.shell }} | -- {% can_delete shell %} - {% include 'buttons/suppr.html' with href='users:del-shell' id=shell.id %} - {% acl_end %} - {% can_edit shell %} - {% include 'buttons/edit.html' with href='users:edit-shell' id=shell.id %} - {% acl_end %} - {% include 'buttons/history.html' with href='users:history' name='listshell' id=shell.id %} - | +Shell | +
---|
{% include "buttons/sort.html" with prefix='white' col="user" text="Utilisateur" %} | -Raison | -{% include "buttons/sort.html" with prefix='white' col="start" text="Date de début" %} | -{% include "buttons/sort.html" with prefix='white' col="end" text="Date de fin" %} | -- | |||||
---|---|---|---|---|---|---|---|---|---|
{% include "buttons/sort.html" with prefix='white' col="user" text="Utilisateur" %} | +Raison | +{% include "buttons/sort.html" with prefix='white' col="start" text="Date de début" %} | +{% include "buttons/sort.html" with prefix='white' col="end" text="Date de fin" %} | ++ |
---|---|---|---|---|
{{ whitelist.user }} | {{ whitelist.raison }} | {{ whitelist.date_start }} | {{ whitelist.date_end }} | - {% can_delete whitelist %} + {% can_delete whitelist %} {% include 'buttons/suppr.html' with href='users:del-whitelist' id=whitelist.id %} - {% acl_end %} - {% can_edit whitelist %} + {% acl_end %} + {% can_edit whitelist %} {% include 'buttons/edit.html' with href='users:edit-whitelist' id=whitelist.id %} - {% acl_end %} - {% include 'buttons/history.html' with href='users:history' name='whitelist' id=whitelist.id %} + {% acl_end %} + {% history_button whitelist %} |
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 %} + un {{ users.class_name | lower}}{% else %} + non adhérent{% endif %} et votre connexion est {% if users.has_access %} active{% else %}désactivée{% endif %}.
{% if user_solde %}Votre solde est de {{ users.solde }}€. @@ -49,134 +50,131 @@ non adhérent{% endif %} et votre connexion est {% if users.has_access %}
Mailing | - {% if users.club.mailing %} -{{ users.pseudo }}(-admin) | - {% else %} -Mailing désactivée | - {% endif %} - {% else %} -Prénom | -{{ users.name }} | - {% endif %} -Nom | -{{ users.surname }} | -
---|---|---|---|---|---|---|
Pseudo | -{{ users.pseudo }} | -{{ 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 | - {% if users.end_adhesion != None %} -{{ users.end_adhesion }} | - {% else %} -Non adhérent | - {% endif %} -Accès gracieux | - {% if users.end_whitelist != None %} -{{ users.end_whitelist }} | - {% else %} -Aucun | - {% endif %} -|
Bannissement | - {% if users.end_ban != None %} -{{ users.end_ban }} | - {% else %} -Non banni | - {% endif %} -Statut | - {% if users.state == 0 %} -Actif | - {% elif users.state == 1 %} -Désactivé | - {% else %} -Archivé | - {% endif %} -
Accès internet | - {% if users.has_access == True %} -Actif (jusqu'au {{ users.end_access }}) | - {% else %} -Désactivé | - {% endif %} -Groupes | - {% if users.groups.all %} -{{ users.groups.all|join:", "}} | - {% else %} -Aucun | - {% endif %} -|
Solde | -{{ users.solde }} € - {% if user_solde %} - - - Recharger - - {% endif %} - | - {% if users.shell %} -Shell | -{{ users.shell }} | - {% endif %} -
Mailing | + {% if users.club.mailing %} +{{ users.pseudo }}(-admin) | + {% else %} +Mailing désactivée | + {% endif %} + {% else %} +Prénom | +{{ users.name }} | + {% endif %} +Nom | +{{ users.surname }} | +
---|---|---|---|---|---|---|
Pseudo | +{{ users.pseudo }} | +{{ 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 | + {% if users.end_adhesion != None %} +{{ users.end_adhesion }} | + {% else %} +Non adhérent | + {% endif %} +Accès gracieux | + {% if users.end_whitelist != None %} +{{ users.end_whitelist }} | + {% else %} +Aucun | + {% endif %} +|
Bannissement | + {% if users.end_ban != None %} +{{ users.end_ban }} | + {% else %} +Non banni | + {% endif %} +Statut | + {% if users.state == 0 %} +Actif | + {% elif users.state == 1 %} +Désactivé | + {% else %} +Archivé | + {% endif %} +
Accès internet | + {% if users.has_access == True %} +Actif (jusqu'au {{ users.end_access }}) | + {% else %} +Désactivé | + {% endif %} +Groupes | + {% if users.groups.all %} +{{ users.groups.all|join:", "}} | + {% else %} +Aucun | + {% endif %} +|
Solde | +{{ users.solde }} € + {% if user_solde %} + + + Recharger + + {% endif %} + | + {% if users.shell %} +Shell | +{{ users.shell }} | + {% endif %} +
Nom | +Prenom | +Pseudo | +|||
---|---|---|---|---|---|
Nom | -Prenom | -Pseudo | +{{ admin.surname }} | +{{ admin.name }} | +{{ admin.pseudo }} |
{{ admin.surname }} | -{{ admin.name }} | -{{ admin.pseudo }} | -
Nom | +Prenom | +Pseudo | +|||
---|---|---|---|---|---|
Nom | -Prenom | -Pseudo | +{{ admin.surname }} | +{{ admin.name }} | +{{ admin.pseudo }} |
{{ admin.surname }} | -{{ admin.name }} | -{{ admin.pseudo }} | -