Module: check_mk
Branch: master
Commit: 287f1019a92b57ddbd34ab8dd4ed92d20e979293
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=287f1019a92b57…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Mon Dec 1 10:23:30 2014 +0100
removed html formatted text in title
---
web/htdocs/logwatch.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/web/htdocs/logwatch.py b/web/htdocs/logwatch.py
index 50e1f31..49a20be 100644
--- a/web/htdocs/logwatch.py
+++ b/web/htdocs/logwatch.py
@@ -241,12 +241,12 @@ def do_log_ack(host, filename):
for int_filename in host_logs(host):
file_display = form_file_to_ext(int_filename)
todo.append((host, int_filename, file_display))
- ack_msg = _('all logfiles of host <tt>%s</tt>') %
html.attrencode(host)
+ ack_msg = _('all logfiles of host %s') % html.attrencode(host)
elif host and filename: # one log on one host
int_filename = form_file_to_int(filename)
todo = [ (host, int_filename, form_file_to_ext(int_filename)) ]
- ack_msg = _('the log file <tt>%s</tt> on host
<tt>%s</tt>') % \
+ ack_msg = _('the log file %s on host %s') % \
(html.attrencode(filename), html.attrencode(host))
html.header(_("Acknowledge %s") % ack_msg, stylesheets = stylesheets)