Module: check_mk
Branch: master
Commit: c6c397de3faea094537958aed9fe790805eecebd
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c6c397de3faea0…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Dec 23 14:05:20 2011 +0100
Upaded label for check_mk service check reschedule button
---
web/plugins/icons/builtin.py | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/web/plugins/icons/builtin.py b/web/plugins/icons/builtin.py
index 9ae167b..3f1899f 100644
--- a/web/plugins/icons/builtin.py
+++ b/web/plugins/icons/builtin.py
@@ -423,6 +423,7 @@ def paint_reschedule(what, row, tags, custom_vars):
servicedesc = ''
wait_svc = ''
icon = 'icon_reload'
+ txt = _('Reschedule an immediate check of this %s') % _(what)
if what == 'service':
servicedesc = row['service_description']
@@ -432,12 +433,12 @@ def paint_reschedule(what, row, tags, custom_vars):
if row[what + '_check_command'].startswith('check_mk-'):
servicedesc = 'Check_MK'
icon = 'icon_reload_cmk'
+ txt = _('Reschedule an immediate check of the
\'Check_MK\' service')
return '<a href=\"javascript:void(0);\" ' \
'onclick="performAction(this, \'reschedule\',
\'%s\', \'%s\', \'%s\', \'%s\');">' \
'<img class=icon title="%s" src="images/%s.gif"
/></a>' % \
- (row["site"], row["host_name"], servicedesc,
wait_svc,
- (_('Reschedule an immediate check of this %s') % _(what)), icon)
+ (row["site"], row["host_name"], servicedesc,
wait_svc, txt, icon)
multisite_icons.append({
'columns': [ 'active_checks_enabled' ],