diff --git a/gestion/whos.py b/gestion/whos.py index 6e292763..d9fda381 100755 --- a/gestion/whos.py +++ b/gestion/whos.py @@ -517,9 +517,11 @@ def adher_details(adher) : jour = False if ann_scol not in adher.paiement() and (adher.adhesion() <= time()): if not jour: f += ' et ' - else: - f += coul(u"Non adhérent actuellement.",'violet') - jour = False + f += coul(u"non adhérent actuellement",'violet') + jour = False + if not adher.paiement_ok(): + if not jour: f += ' et ' + f += coul(u"pas d'accès Internet", "violet") if jour: f += coul(u"à jour",'vert') @@ -587,7 +589,7 @@ def adher_details(adher) : f += coul(u"Adhésion jusqu'au %s" % strftime("%d/%m/%Y %H:%M:%S", localtime(adher.adhesion())), "vert") f += u"\n" elif adher.paiement(): - f += coul(u"Paiement pour %s/%s ok (connexion inclue)" % (ann_scol, ann_scol+1), "vert") + f += coul(u"Paiement pour %s/%s ok (connexion incluse)" % (ann_scol, ann_scol+1), "vert") f += u"\n" # Paiement @@ -830,7 +832,7 @@ def club_details(club) : # Adhésion if club.adhesion() > time(): - f += coul(u"Adhésion jusque %s." % (strftime("%d/%m/%Y %H:%M:%S", localtime(club.adhesion())),), "vert") + f += coul(u"Adhésion jusque %s (connexion incluse)." % (strftime("%d/%m/%Y %H:%M:%S", localtime(club.adhesion())),), "vert") f += '\n' elif ann_scol in club.paiement(): f += coul(u"Adhésion pour l'année en cours", "vert")