def svc_map(row): css_classes, status_name = paint_service_state_short(row) draw_status = properties.get("status_border", "not_ok") if draw_status == "not_ok" and css_classes.endswith("state0"): draw_status = False return { "style": css_classes, "msg": _("Status: ") + status_name, "draw": draw_status }
def svc_map(row): css_classes, status_name = paint_service_state_short(row) return {"style": css_classes, "msg": _("Status: ") + status_name}