[printing] Fonctions d'affichage pour les objets lc_ldap
pour le moment il n'y a qu'un support partiel pour les machines et les adherents
This commit is contained in:
parent
ad58564193
commit
1b424e5afb
4 changed files with 65 additions and 0 deletions
17
printing/templates/adherent
Normal file
17
printing/templates/adherent
Normal file
|
@ -0,0 +1,17 @@
|
|||
{{["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 ')}}
|
8
printing/templates/machine
Normal file
8
printing/templates/machine
Normal file
|
@ -0,0 +1,8 @@
|
|||
{{["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 ')}}
|
Loading…
Add table
Add a link
Reference in a new issue