Nouveau systme de destruction d'objets.
darcs-hash:20040911232457-41617-acc80a0d56d11a346497d0aef68fd4b5c0b13a00.gz
This commit is contained in:
parent
6020d212db
commit
d0ba7705d9
4 changed files with 114 additions and 50 deletions
|
@ -384,11 +384,16 @@ def machine_details(machine) :
|
|||
f+= coul(u'MAC : ','gras') + "%s\n" %machine.mac()
|
||||
|
||||
# Propriétaire
|
||||
a = machine.proprietaire()
|
||||
f+= coul(u'Propriétaire : ','gras')
|
||||
f += "%s" % a.Nom()
|
||||
if a.chbre() : f += " (%s)" % a.chbre()
|
||||
try :
|
||||
f += machine.proprio + coul(' (adhérent détruit)', 'jaune')
|
||||
a = crans()
|
||||
except :
|
||||
a = machine.proprietaire()
|
||||
f += "%s" % a.Nom()
|
||||
if a.chbre() : f += " (%s)" % a.chbre()
|
||||
f+= '\n'
|
||||
|
||||
|
||||
# Adhérent blacklisté ?
|
||||
bl = a.blacklist_actif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue