annuaires: vire mentions câblage crans-crous
This commit is contained in:
parent
2bcce4911f
commit
8c8ac24c54
3 changed files with 3 additions and 55 deletions
|
@ -1158,14 +1158,7 @@ def prise_etat(chbre) :
|
|||
# On met aussi l'état
|
||||
prise = sw_chbre(chbre)
|
||||
vlans += ', '.join(prise.vlans())
|
||||
if annuaires_pg.is_crans(chbre[0],chbre[1:]) :
|
||||
cablage += coul(u'Cr@ns','bleu')
|
||||
else :
|
||||
cablage += coul(u'CROUS','jaune')
|
||||
if annuaires_pg.is_connected(chbre[0],chbre[1:]) :
|
||||
cablage += u'.'
|
||||
else :
|
||||
cablage += u', ' + coul(u'cablage non effectué !','rouge')
|
||||
|
||||
f += u'prise %s' % prise.prise_brute
|
||||
rows, cols = get_screen_size()
|
||||
if prise.is_up() :
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue