Module: check_mk
Branch: master
Commit: beb5187b997b381565fca728efe7278c9379b321
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=beb5187b997b38…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Apr 21 12:20:57 2017 +0200
4599 FIX Fixed rendering of netwrok scan results in folder properties
Change-Id: Ib90b40e2a4b6a943d1420da5618c66e63f2d96f4
---
.werks/4599 | 10 ++++++++++
web/htdocs/wato.py | 6 +++++-
2 files changed, 15 insertions(+), 1 deletion(-)
diff --git a/.werks/4599 b/.werks/4599
new file mode 100644
index 0000000..bee4b97
--- /dev/null
+++ b/.werks/4599
@@ -0,0 +1,10 @@
+Title: Fixed rendering of netwrok scan results in folder properties
+Level: 1
+Component: wato
+Compatible: compat
+Edition: cre
+Version: 1.5.0i1
+Date: 1492770038
+Class: fix
+
+
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index 7bef7f9..5045f41 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -17007,7 +17007,11 @@ def configure_attributes(new, hosts, for_what, parent,
myself=None, without_attr
tdclass, content = attr.paint(value, "")
if not content:
content = _("empty")
- html.b(_u(content))
+
+ if isinstance(attr, ValueSpecAttribute):
+ html.write(content)
+ else:
+ html.b(_u(content))
html.write_text(explanation)
html.close_div()