MDL-20667 grader report - fix visualization annoyance in overall/range rows

This commit is contained in:
Eloy Lafuente
2009-12-10 00:12:42 +00:00
parent e29748a54a
commit 6bf36bc2b9
+2 -2
View File
@@ -1166,9 +1166,9 @@ class grade_report_grader extends grade_report {
$fixedstudents = $this->is_fixed_students();
if (!$fixedstudents) {
$colspan='';
$colspan='colspan="2" ';
if ($this->get_pref('showuseridnumber')) {
$colspan = 'colspan="2" ';
$colspan = 'colspan="3" ';
}
$avghtml .= '<th class="header c0 range" '.$colspan.' scope="row">'.$straverage.'</th>';
}