Module: check_mk
Branch: master
Commit: 72204914d0523df80f12637c5b811a9b8b71ad0f
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=72204914d0523d…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Sun Feb 15 15:45:00 2015 +0100
Make painters for check intervals right justified
---
web/plugins/views/painters.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/web/plugins/views/painters.py b/web/plugins/views/painters.py
index d1c3581..d27ddee 100644
--- a/web/plugins/views/painters.py
+++ b/web/plugins/views/painters.py
@@ -693,13 +693,13 @@ multisite_painters["svc_normal_interval"] = {
"title" : _("Service normal check interval"),
"short" : _("Check int."),
"columns" : [ "service_check_interval" ],
- "paint" : lambda row: (None, "%.0fs" %
(row["service_check_interval"] * 60.0)),
+ "paint" : lambda row: ("number", "%.0fs" %
(row["service_check_interval"] * 60.0)),
}
multisite_painters["svc_retry_interval"] = {
"title" : _("Service retry check interval"),
"short" : _("Retry"),
"columns" : [ "service_retry_interval" ],
- "paint" : lambda row: (None, "%.0fs" %
(row["service_retry_interval"] * 60.0)),
+ "paint" : lambda row: ("number", "%.0fs" %
(row["service_retry_interval"] * 60.0)),
}
multisite_painters["svc_check_interval"] = {
"title" : _("Service normal/retry check interval"),