Module: check_mk
Branch: master
Commit: 88c1be734e3053fc30c4cf533f2c7732b709a312
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=88c1be734e3053…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Aug 7 14:34:12 2015 +0200
Fixed row styling in crash report
---
web/htdocs/crash_reporting.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/web/htdocs/crash_reporting.py b/web/htdocs/crash_reporting.py
index a4ba8fb..dd3ac6a 100644
--- a/web/htdocs/crash_reporting.py
+++ b/web/htdocs/crash_reporting.py
@@ -270,10 +270,10 @@ def show_crash_report(info):
html.write("<td>%s</td></tr>" %
html.attrencode(info["os"]))
html.write("<tr class=\"data odd0\"><td
class=\"left\">%s</td>" % _("Check_MK Version"))
html.write("<td>%s</td></tr>" %
html.attrencode(info["version"]))
- html.write("<tr class=\"data odd0\"><td
class=\"left\">%s</td>" % _("Exception"))
+ html.write("<tr class=\"data even0\"><td
class=\"left\">%s</td>" % _("Exception"))
html.write("<td><pre>%s (%s)</pre></td></tr>"
% (html.attrencode(info["exc_type"]),
html.attrencode(info["exc_value"])))
- html.write("<tr class=\"data even0\"><td
class=\"left\">%s</td>" % _("Traceback"))
+ html.write("<tr class=\"data odd0\"><td
class=\"left\">%s</td>" % _("Traceback"))
html.write("<td><pre>%s</pre></td></tr>" %
html.attrencode(format_traceback(info["exc_traceback"])))
html.write("</table>")