Module: check_mk
Branch: master
Commit: 100e2087b54e28f145af44a4d8f6d645f910dc90
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=100e2087b54e28…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Mon May 28 16:01:55 2012 +0200
Removed the word Nagios from user output
---
web/htdocs/views.py | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/web/htdocs/views.py b/web/htdocs/views.py
index 5635f3e..6fec2c6 100644
--- a/web/htdocs/views.py
+++ b/web/htdocs/views.py
@@ -2077,15 +2077,15 @@ def do_actions(view, what, action_rows, backurl):
count = 0
for row in action_rows:
- nagios_commands, title, executor = core_command(what, row)
- for command in nagios_commands:
+ core_commands, title, executor = core_command(what, row)
+ for command in core_commands:
if type(command) == unicode:
command = command.encode("utf-8")
executor(command, row["site"])
count += 1
if command:
- message = _("Successfully sent %d commands to Nagios.") % count
+ message = _("Successfully sent %d commands.") % count
if config.debug:
message += _("The last one was: <pre>%s</pre>") %
command
if html.output_format == "html": # sorry for this hack