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

a new visual symbol on the "course grades overview" report that indicates that a student submitted an answer and is waiting for the grader to grade it

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Inactive
    • Affects Version/s: 1.9
    • Fix Version/s: None
    • Component/s: Gradebook
    • Labels:
      None
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_19_STABLE

      Description

      teachers that looked on the course's "grade overview report" wished to know which
      student has submitted an answer to an assignment and is waiting for the grader to grade it.
      (it was only showing grades and no grades indications)

      so i add a new symbol to indicate that the student submitted an answer
      and that he/she is waiting for the grader to grade it.

      to apply the patch, open moodle/grade/report/grader/lib.php line 877 and change :

      $studentshtml .= '<span class="gradevalue'.$hidden.$gradepass.'">'.grade_format_gradevalue($gradeval, $item, true, $gradedisplaytype, null).'</span>';

      to:

      } else {
      // who answered but did not get a grade + link for grading (nadavkav)
      if ( $grade->get_datesubmitted() and empty($gradeval) )

      { $gradershouldcheck = '<span style="font-size-adjust:0.6;font-weight:bold;">'. ' <a target="_new" href="'.$CFG->wwwroot.'/mod/assignment/submissions.php?id='. $item->idnumber.'&userid='.$userid.'&mode=single&offset='.($this->rowcount - 3).'">(?)</a> </span>'; }

      else

      { $gradershouldcheck = grade_format_gradevalue($gradeval, $item, true, $gradedisplaytype, null); }

      $studentshtml .= '<span class="gradevalue'.$hidden.$gradepass.'">'.$gradershouldcheck.'</span>';
      }

        Attachments

          Activity

            People

            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: