[gest_crans_lc] On affiche si on utilise la base de test
This commit is contained in:
parent
5201e3dfdf
commit
f006ddb50c
7 changed files with 23 additions and 16 deletions
|
@ -86,7 +86,7 @@ class Dialog(proprio.Dialog):
|
|||
title="Modification de %s %s" % (adherent['prenom'][0], adherent["nom"][0]),
|
||||
scrollbar=True,
|
||||
cancel_label="Retour",
|
||||
backtitle=u"Vous êtes connecté en tant que %s" % self.conn.current_login,
|
||||
backtitle=self._connected_as(),
|
||||
choices=choices)
|
||||
|
||||
def todo(tag, menu, adherent, cont_ret):
|
||||
|
@ -142,7 +142,7 @@ class Dialog(proprio.Dialog):
|
|||
title="Gestion administrative de %s %s" % (adherent.get('prenom', [''])[0], adherent["nom"][0]),
|
||||
scrollbar=True,
|
||||
cancel_label="Retour",
|
||||
backtitle=u"Vous êtes connecté en tant que %s" % self.conn.current_login,
|
||||
backtitle=self._connected_as(),
|
||||
choices=[(k, menu[k]['text'], menu[k]['help']) for k in menu_order if self.has_right(menu_droits[k], adherent)])
|
||||
|
||||
def todo(tag, menu, adherent, self_cont):
|
||||
|
@ -348,7 +348,7 @@ class Dialog(proprio.Dialog):
|
|||
title="Connexion de %s %s" % (adherent['prenom'][0], adherent["nom"][0]),
|
||||
scrollbar=True,
|
||||
cancel_label="Retour",
|
||||
backtitle=u"Vous êtes connecté en tant que %s" % self.conn.current_login,
|
||||
backtitle=self._connected_as(),
|
||||
choices=[(k, menu[k]['text']) for k in menu_order])
|
||||
|
||||
# Génération et crédit de la facture
|
||||
|
@ -889,7 +889,7 @@ class Dialog(proprio.Dialog):
|
|||
title="Déménagement de %s %s" % (adherent['prenom'][0], adherent["nom"][0]),
|
||||
scrollbar=True,
|
||||
cancel_label="Retour",
|
||||
backtitle=u"Vous êtes connecté en tant que %s" % self.conn.current_login,
|
||||
backtitle=self._connected_as(),
|
||||
choices=[(k, menu[k]['text'], menu[k]['help']) for k in menu_order if self.has_right(menu_droits[k], adherent)])
|
||||
|
||||
def todo(tag, menu, adherent, self_cont, cont):
|
||||
|
@ -1089,7 +1089,7 @@ class Dialog(proprio.Dialog):
|
|||
title="Études de %s %s" % (adherent['prenom'][0], adherent["nom"][0]),
|
||||
scrollbar=True,
|
||||
cancel_label="Retour",
|
||||
backtitle=u"Vous êtes connecté en tant que %s" % self.conn.current_login,
|
||||
backtitle=self._connected_as(),
|
||||
choices=choices_etablissement)
|
||||
|
||||
def box_annee(default_item):
|
||||
|
@ -1123,7 +1123,7 @@ class Dialog(proprio.Dialog):
|
|||
title="Études de %s %s" % (adherent['prenom'][0], adherent["nom"][0]),
|
||||
scrollbar=True,
|
||||
cancel_label="Retour",
|
||||
backtitle=u"Vous êtes connecté en tant que %s" % self.conn.current_login,
|
||||
backtitle=self._connected_as(),
|
||||
choices=box_choice)
|
||||
|
||||
def box_section(default_item):
|
||||
|
@ -1147,7 +1147,7 @@ class Dialog(proprio.Dialog):
|
|||
title="Études de %s %s" % (adherent['prenom'][0], adherent["nom"][0]),
|
||||
scrollbar=True,
|
||||
cancel_label="Retour",
|
||||
backtitle=u"Vous êtes connecté en tant que %s" % self.conn.current_login,
|
||||
backtitle=self._connected_as(),
|
||||
choices=section_ENS)
|
||||
|
||||
self_cont = TailCall(self.adherent_etudes, adherent=adherent, cont=cont, cancel_cont=cancel_cont, default_item=default_item, etablissement=etablissement, annee=annee, section=section)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue