Module: check_mk
Branch: master
Commit: 586184453a8fc313b180ad566a627830b67c5d62
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=586184453a8fc3…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Tue May 30 14:24:21 2017 +0200
Fixed render_help.
Change-Id: I168ad28ccc22076438a8214ef53e0175a2cf649a
---
web/htdocs/htmllib.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/htdocs/htmllib.py b/web/htdocs/htmllib.py
index a5359a6..085a5ab 100644
--- a/web/htdocs/htmllib.py
+++ b/web/htdocs/htmllib.py
@@ -1682,7 +1682,7 @@ class html(HTMLGenerator, RequestHandler):
def render_help(self, text):
if text and text.strip():
self.have_help = True
- style = "display: %s;" % "block" if self.help_visible
else "none"
+ style = "display: %s;" % ("block" if self.help_visible
else "none")
c = self.render_div(text.strip(), class_="help", style=style)
return c
else: