From 55985bd22a5311d01f5215e0ef90477800b51feb Mon Sep 17 00:00:00 2001 From: Valentin Samir Date: Wed, 20 Nov 2013 16:29:09 +0100 Subject: [PATCH] [printing/templates] Controle est optionnel --- printing/templates/adherent | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/printing/templates/adherent b/printing/templates/adherent index 66429f9..599445a 100644 --- a/printing/templates/adherent +++ b/printing/templates/adherent @@ -6,6 +6,6 @@ {{"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 %} +{{"Cotisation payée pour les années : "|coul('gras')}}{{o.paiement|join(' ')}} {% if o.get('controle', []) and 'p' in o.controle.0.value %}{{"(OK)"|coul('vert')}}{% endif %} +{{"Carte d'étudiant fournie pour les années : "|coul('gras')}}{{o.carteEtudiant|join(' ')}} {% if o.get('controle', []) and 'c' in o.controle.0.value %}{{"(OK)"|coul('vert')}}{% endif %} {% endblock%}