From: dwoolhead Date: Fri, 27 Jul 2007 11:13:22 +0000 (+0000) Subject: Correct display of unittest results for IE X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=98907dbaaafb1f17f94fb47187a8f6622d8102e6;p=moodle.git Correct display of unittest results for IE --- diff --git a/admin/report/simpletest/ex_reporter.php b/admin/report/simpletest/ex_reporter.php index eb23fc902f..741ed9b08e 100644 --- a/admin/report/simpletest/ex_reporter.php +++ b/admin/report/simpletest/ex_reporter.php @@ -147,9 +147,9 @@ class ExHtmlReporter extends HtmlReporter { $summarydata->exceptions = $this->getExceptionCount(); if ($summarydata->fails == 0 && $summarydata->exceptions == 0) { - $status = "pass"; + $status = "passed"; } else { - $status = "fail"; + $status = "failed"; } echo '
'; echo $this->get_string('summary', $summarydata); diff --git a/theme/standard/styles_color.css b/theme/standard/styles_color.css index 0c881c91f8..07e5539973 100644 --- a/theme/standard/styles_color.css +++ b/theme/standard/styles_color.css @@ -311,11 +311,11 @@ table.flexible .r1 { color: white; } -#admin-report-simpletest-index .unittestsummary.fail { +#admin-report-simpletest-index .unittestsummary.failed { background-color: red; } -#admin-report-simpletest-index .unittestsummary.pass { +#admin-report-simpletest-index .unittestsummary.passed { background-color: green; }