[printing] Club, adherent, machines affichable de façon plus exhaustive
This commit is contained in:
parent
1b424e5afb
commit
702f941469
8 changed files with 124 additions and 45 deletions
|
@ -1,17 +1,11 @@
|
|||
{{["aid=",aid.0]|join|coul('bleu')}} {{"Nom : "|coul('gras')}}{{prenom|join(' ')}} {{nom|join(' ')}}
|
||||
{%if uid %}{{"Login : "|coul('gras')}}{{uid.0}} {{"Alias : "|coul('gras')}}{{mailAlias|join(', ')}}
|
||||
{{"Droits sur les serveurs : "|coul('gras')}}{{droits|join(', ')}}
|
||||
{{"Dernière connexion : "|coul('gras')}}{{derniereConnexion|join}}
|
||||
{{"Solde : "|coul('gras')}}{{solde.0}}
|
||||
{% endif %}{{"Date d'inscription : "|coul('gras')}}
|
||||
{{"État administratif : "|coul('gras')}}{{etat}}
|
||||
{{"Numéro de téléphone : "|coul('gras')}}{{tel|join(', ')}}
|
||||
{{"Chambre : "|coul('gras')}}{{chbre|join(', ')}}
|
||||
{{"Brassage : "|coul('gras')}}
|
||||
{{"Études : "|coul('gras')}}{{etudes|join(' ')}}
|
||||
{{"Cotisation payée pour les années :"|coul('gras')}}
|
||||
{{paiement|join(' ')}}
|
||||
{{"Carte d'étudiant fournie pour les années :"|coul('gras')}}
|
||||
{{carteEtudiant|join(' ')}}
|
||||
{{"Blackliste : "|coul('gras')}}{{blacklist|join('\n ')}}
|
||||
{{"Historique : "|coul('gras')}}{{historique|join('\n ')}}
|
||||
{% extends "proprio" %}
|
||||
{% block id %}
|
||||
{{["aid=",o.aid.0]|join|coul('bleu')}} {{"Nom : "|coul('gras')}}{{o.prenom|join(' ')}} {{o.nom|join(' ')}}
|
||||
{% endblock%}
|
||||
{% block proprio %}
|
||||
{{"Numéro de téléphone : "|coul('gras')}}{{o.tel|join(', ')}}
|
||||
{{"Chambre : "|coul('gras')}}{{o.chbre.0}} ({{o.chbre.0|string|prise_etat}})
|
||||
{{"Études : "|coul('gras')}}{{o.etudes|join(' ')}}
|
||||
{{"Cotisation payée pour les années : "|coul('gras')}}{{o.paiement|join(' ')}} {% if 'p' in o.controle.0.value %}{{"(OK)"|coul('vert')}}{% endif %}
|
||||
{{"Carte d'étudiant fournie pour les années : "|coul('gras')}}{{o.carteEtudiant|join(' ')}} {% if 'c' in o.controle.0.value %}{{"(OK)"|coul('vert')}}{% endif %}
|
||||
{% endblock%}
|
||||
|
|
4
printing/templates/blacklist
Normal file
4
printing/templates/blacklist
Normal file
|
@ -0,0 +1,4 @@
|
|||
{% if o.__getitem__('blacklist') %}
|
||||
{{"Blackliste : "|coul('gras')}}{{o.__getitem__('blacklist')[-limit:]|reverse|blacklist|join('\n ')}}
|
||||
{% endif %}
|
||||
{% include 'object' %}
|
11
printing/templates/club
Normal file
11
printing/templates/club
Normal file
|
@ -0,0 +1,11 @@
|
|||
{% extends "proprio" %}
|
||||
{% block id %}
|
||||
{{["cid=",o.cid.0]|join|coul('bleu')}} {{"Nom : "|coul('gras')}}{{o.nom|join(' ')}}
|
||||
{% endblock%}
|
||||
{% block proprio %}
|
||||
{{"Responsable : "|coul('gras')}}{{o.responsable.0.value.prenom|join(' ')}} {{o.responsable.0.value.nom|join(' ')}} ({{o.responsable.0.value.aid|join(' ')}})
|
||||
{{"Imprimeurs : "|coul('gras')}}{% for i in o.imprimeurClub %}{{i.value.prenom|join(' ')}} {{i.value.nom|join(' ')}} ({{i.value.aid|join(' ')}}) {% endfor%}
|
||||
|
||||
{{"Local : "|coul('gras')}}{{o.chbre.0}} ({{o.chbre.0|string|prise_etat}})
|
||||
{{"Charte signée pour les années scolaires : "|coul('gras')}}{{o.paiement|join(' ')}}
|
||||
{% endblock%}
|
12
printing/templates/compte_crans
Normal file
12
printing/templates/compte_crans
Normal file
|
@ -0,0 +1,12 @@
|
|||
{{"Login : "|coul('gras')}}{{o.uid.0}} {{"Alias : "|coul('gras')}}{{o.mailAlias|join(', ')}}
|
||||
{% if o.droits %}
|
||||
{{"Droits sur les serveurs : "|coul('gras')}}{{o.droits|join(', ')}}
|
||||
{% endif %}
|
||||
{{"Dernière connexion : "|coul('gras')}}{%if derniereConnexion %}
|
||||
{{o.derniereConnexion.0|timeformat}}
|
||||
{% else %}
|
||||
{{"Jamais"|coul('rouge')}}
|
||||
{% endif %}
|
||||
{% if o.solde %}
|
||||
{{"Solde : "|coul('gras')}}{{o.solde.0}}€
|
||||
{% endif %}
|
|
@ -1,8 +1,9 @@
|
|||
{{["mid=",mid.0]|join|coul('bleu')}} {{[objectClass.0, " : "]|join|coul('gras')}}{{host.0}} {{["rid=",rid.0]|join|coul('bleu')}}
|
||||
{{"Alias : "|coul('gras')}}{{alias|join(', ')}}
|
||||
{{"MAC : "|coul('gras')}}{{macAddress|join(', ')}}
|
||||
{{"IPv4 : "|coul('gras')}}{{ipHostNumber|join(', ')}}
|
||||
{{"IPv6 : "|coul('gras')}}{{ip6HostNumber|join(', ')}}
|
||||
{{"Propriétaire : "|coul('gras')}}{{proprio.prenom|join(', ')}} {{proprio.nom|join(', ')}} (aid={{proprio.aid|join(', ')}})
|
||||
{{"Blackliste : "|coul('gras')}}{{blacklist|join('\n ')}}
|
||||
{{"Historique : "|coul('gras')}}{{historique|join('\n ')}}
|
||||
{{["mid=",o.mid.0]|join|coul('bleu')}} {{[o.objectClass.0, " : "]|join|coul('gras')}}{{o.host.0}} {{["rid=",o.rid.0]|join|coul('bleu')}}
|
||||
{% if o.alias %}
|
||||
{{"Alias : "|coul('gras')}}{{o.alias|join(', ')}}
|
||||
{% endif %}
|
||||
{{"MAC : "|coul('gras')}}{{o.macAddress|join(', ')}}
|
||||
{{"IPv4 : "|coul('gras')}}{{o.ipHostNumber|join(', ')}}
|
||||
{{"IPv6 : "|coul('gras')}}{{o.ip6HostNumber|join(', ')}}
|
||||
{{"Propriétaire : "|coul('gras')}}{{o.proprio().prenom|join(', ')}} {{o.proprio().nom|join(', ')}} (aid={{o.proprio().aid|join(', ')}})
|
||||
{% include 'blacklist' %}
|
||||
|
|
6
printing/templates/object
Normal file
6
printing/templates/object
Normal file
|
@ -0,0 +1,6 @@
|
|||
{% if o.info %}
|
||||
{{"Remarque : "|coul('gras')}}{{o.info|reverse|join('\n ')}}
|
||||
{% endif %}
|
||||
{% if o.historique %}
|
||||
{{"Historique : "|coul('gras')}}{{o.historique[-limit:]|reverse|join('\n ')}}
|
||||
{% endif %}
|
11
printing/templates/proprio
Normal file
11
printing/templates/proprio
Normal file
|
@ -0,0 +1,11 @@
|
|||
{% block id %}{% endblock %}
|
||||
{{"Date d'inscription : "|coul('gras')}}{{o.historique.0|string|split(',',1)|first}}
|
||||
{{"État administratif : "|coul('gras')}}{{etat_administratif|join(' et ')}}
|
||||
{%if o.uid %}
|
||||
{% include 'compte_crans' %}
|
||||
{% endif %}
|
||||
{% block proprio %}{% endblock %}
|
||||
{% if brassage %}
|
||||
{{"Brassage : "|coul('gras')}}{{brassage}}
|
||||
{% endif %}
|
||||
{% include 'blacklist' %}
|
Loading…
Add table
Add a link
Reference in a new issue