This commit is contained in:
Pierre-Elliott Bécue 2014-08-25 20:41:03 +02:00
parent 3f5ce9ec95
commit 7212fb0d2f

View file

@ -2222,7 +2222,7 @@ les valeurs valident sont :
scrollbar=True, scrollbar=True,
cancel_label="Retour", cancel_label="Retour",
backtitle=u"Vous êtes connecté en tant que %s" % self.conn.current_login, backtitle=u"Vous êtes connecté en tant que %s" % self.conn.current_login,
choices=[(k, menu[k]['text'], menu[k]['help']) for k in menu_order if self.has_right(menu_droits[key], adherent)]) 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): def todo(tag, menu, adherent, self_cont, cont):
if not tag in menu_order: if not tag in menu_order: