Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-12132

Print students name on right side of grader report

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 1.9
    • None
    • Gradebook
    • None
    • 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

          Activity

            People

              nicolasconnault Nicolas Connault
              ganderson Gary Anderson
              Nobody Nobody
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              10 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: