Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Won't Fix
-
Affects Version/s: 1.9
-
Fix Version/s: None
-
Component/s: Gradebook
-
Labels:None
-
Affected Branches:MOODLE_19_STABLE
Description
It is very difficult to visually track activities for students in the grader report in Moodle 1.9 Beta 2 once more than a few activities are completed. Restoring the printing of the student's name on the right hand side helps here, especially since it is next to the Course total.
To patch in /grade/report/grader/lib.php, right above $headerhtml .= '</tr>'; add
if ($key == $numrows - 1) { $headerhtml .= '<th class="header c'.$columncount++.' user" scope="col"><a href="'.$this->baseurl.'&sortitemid=firstname">' . $strfirstname . '</a> ' //TODO: localize . $firstarrow. '/ <a href="'.$this->baseurl.'&sortitemid=lastname">' . $strlastname . '</a>'. $lastarrow .'</th>'; }
in /grade/report/grader/lib.php, right above $studentshtml .= '</tr>'; add
$studentshtml .= '<th class="header c'.$columncount++.' user" scope="row">' . $user_pic
. '<a href="' . $CFG->wwwroot . '/user/view.php?id='
. $user->id . '">' . fullname($user) . '</a></th>';
The above lines are courtesy of our school, Seattle Academy and were written by Karlene Clapp, our administrator of our servers.
Attachments
Issue Links
| This issue has a non-specific relationship to: | ||||
| MDL-13950 | Floating Names and Assignment Headers |
|
|
|
After the patch with student names printed on right hand side. Note that another patch that resizes picures and preserves word wrap has been applied.