Module: check_mk
Branch: master
Commit: c98f4f46642d1fa89bc5e4f39a6980a3d6986316
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c98f4f46642d1f…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Oct 12 09:41:21 2016 +0200
3900 FIX Notification analysis: Fixed wrong color for host notification states
---
.werks/3900 | 9 +++++++++
ChangeLog | 1 +
web/htdocs/wato.py | 2 +-
3 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/.werks/3900 b/.werks/3900
new file mode 100644
index 0000000..8544f55
--- /dev/null
+++ b/.werks/3900
@@ -0,0 +1,9 @@
+Title: Notification analysis: Fixed wrong color for host notification states
+Level: 1
+Component: notifications
+Compatible: compat
+Version: 1.4.0i2
+Date: 1476258068
+Class: fix
+
+
diff --git a/ChangeLog b/ChangeLog
index d5529c5..5e4e692 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -32,6 +32,7 @@
Notifications:
* 3957 mail: now allows extra HTML section between body and table
+ * 3900 FIX: Notification analysis: Fixed wrong color for host notification states
BI:
* 3955 BI rule ID can now be renamed
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index 0334d7e..6ccd1fb 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -7923,7 +7923,7 @@ def mode_notifications(phase):
else:
statename = context.get("HOSTSTATE")[:4]
state = context["HOSTSTATEID"]
- css = "state hstate state%s" % state
+ css = "state hstate hstate%s" % state
table.cell(_("State"), statename, css=css)
elif nottype.startswith("DOWNTIME"):
table.cell(_("State"))