From eaaf97b24600ab419f60890205e8afd5b5a64038 Mon Sep 17 00:00:00 2001 From: Daniel STAN Date: Mon, 29 Jun 2015 01:04:10 +0200 Subject: [PATCH] =?UTF-8?q?whos:=20vire=20mentions=20c=C3=A2blage=20crans-?= =?UTF-8?q?crous?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- printing/templates/templates.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/printing/templates/templates.py b/printing/templates/templates.py index 8f4fe6b..de5c3eb 100644 --- a/printing/templates/templates.py +++ b/printing/templates/templates.py @@ -68,14 +68,6 @@ def prise_etat(chbre): cablage = u" " * (13 + len(chbre)) - if gestion.annuaires_pg.is_crans(bat, chbre): - cablage += style(u"Câblée au Crans", "bleu") - else: - cablage += style(u"Câblée au CROUS", "jaune") - - if not gestion.annuaires_pg.is_connected(bat, chbre): - cablage += style(u" [à valider]", "rouge") - lien = u"Prise %s" % (switch.ports[port].name(),) if not switch.is_enabled(port) == 'up':