Module: check_mk
Branch: master
Commit: f063b1ed2a046002bc232eb2b15156c076cc3498
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=f063b1ed2a0460…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Wed Aug 1 13:51:40 2018 +0200
fixed bi rule display bug
Change-Id: I90cea02177a9100cef58d76a4d333bf3b7bbbf33
---
.werks/6243 | 11 +++++++++++
cmk/gui/bi.py | 2 +-
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/.werks/6243 b/.werks/6243
new file mode 100644
index 0000000..f8f7323
--- /dev/null
+++ b/.werks/6243
@@ -0,0 +1,11 @@
+Title: BI: fixed minor display bug, when BI had an additional message for the rule state
+Level: 1
+Component: bi
+Class: fix
+Compatible: compat
+Edition: cre
+State: unknown
+Version: 1.6.0i1
+Date: 1533124150
+
+
diff --git a/cmk/gui/bi.py b/cmk/gui/bi.py
index f143022..89d14cc 100644
--- a/cmk/gui/bi.py
+++ b/cmk/gui/bi.py
@@ -3145,7 +3145,7 @@ class FoldableTreeRendererTree(FoldableTreeRenderer):
if mousecode:
if str(effective_state["state"]) in
tree[2].get("state_messages", {}):
- html.b("♦", class_="bullet")
+ html.b(HTML("♦"), class_="bullet")
html.write_text(tree[2]["state_messages"][str(effective_state["state"])])
html.close_span()