crans -> AssociationCrans
adherent -> Adherent club -> Club darcs-hash:20060325215156-68412-615c1bfb3b23e16cd10b82cc3dc467e716c258ea.gz
This commit is contained in:
parent
0a53921e05
commit
f16056b8b4
12 changed files with 62 additions and 64 deletions
|
@ -48,7 +48,7 @@ except:
|
|||
|
||||
base = None
|
||||
|
||||
from ldap_crans import is_actif, crans_ldap, ann_scol, crans, hostname
|
||||
from ldap_crans import is_actif, crans_ldap, ann_scol, AssociationCrans, hostname
|
||||
from ldap_crans import MachineWifi, BorneWifi
|
||||
from affich_tools import *
|
||||
import user_tests
|
||||
|
@ -475,7 +475,7 @@ def machine_details(machine) :
|
|||
f+= coul(u'Propriétaire : ','gras')
|
||||
try :
|
||||
f += machine.proprio + coul(' (adhérent détruit)', 'jaune')
|
||||
a = crans()
|
||||
a = AssociationCrans()
|
||||
except :
|
||||
a = machine.proprietaire()
|
||||
f += "%s" % a.Nom()
|
||||
|
@ -971,7 +971,7 @@ def __recherche() :
|
|||
|
||||
try:
|
||||
if only_crans :
|
||||
res = { 'machine' : crans().machines() , 'adherent' : [] , 'club' : [] }
|
||||
res = { 'machine' : AssociationCrans().machines() , 'adherent' : [] , 'club' : [] }
|
||||
else :
|
||||
if not arg :
|
||||
# Pas de chaine de recherche fournie
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue