Module: check_mk
Branch: master
Commit: 8ccf7fc602646632a90d6596f65e42b30a1af914
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=8ccf7fc6026466…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Fri Sep 30 11:44:30 2016 +0200
fixed wrong usage of css class in tactical overview
---
web/plugins/sidebar/shipped.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/web/plugins/sidebar/shipped.py b/web/plugins/sidebar/shipped.py
index f1567dd..54302ef 100644
--- a/web/plugins/sidebar/shipped.py
+++ b/web/plugins/sidebar/shipped.py
@@ -638,12 +638,12 @@ def render_tactical_overview(extra_filter_headers="",
extra_url_variables=None):
if unhandled:
url += "&is_%s_acknowledged=0" % what
text = link(str(value), url)
- html.write('<td class="%s%s">%s</td>' %
(td_class, value == 0 and "" or ' states prob', text))
+ html.write('<td class="%s%s">%s</td>' %
(td_class, value == 0 and " " or ' states prob', text))
if td_class == 'col4':
url = html.makeuri_contextless([("view_name", stale_view)] +
extra_url_variables, filename="view.py")
text = link(str(stales), url)
- html.write('<td class="%s%s">%s</td>' %
(td_class, value == 0 and "" or ' states prob', text))
+ html.write('<td class="%s%s">%s</td>' %
(td_class, value == 0 and " " or ' states prob', text))
html.write("</tr>\n")
html.write("</table>\n")