Module: check_mk
Branch: master
Commit: d97ac50947970838395c4c173259db51fbb1d8cc
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=d97ac509479708…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Nov 14 09:58:36 2016 +0100
Audit log: Do not break date/time anymore
---
web/htdocs/wato.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index 3061c5e..81bd746 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -4445,7 +4445,7 @@ class ModeAuditLog(WatoMode):
for t, linkinfo, user, action, text in log:
table.row()
table.cell(_("Object"), self._render_logfile_linkinfo(linkinfo))
- table.cell(_("Time"), render.date_and_time(float(t)))
+ table.cell(_("Time"),
html.render_nobr(render.date_and_time(float(t))))
user = user == '-' and ('<i>%s</i>' %
_('internal')) or user
table.cell(_("User"), html.attrencode(user),
css="nobreak")