Skip to content

Commit

Permalink
MDL-42125 quiz stats: clearer message when manual grading required
Browse files Browse the repository at this point in the history
  • Loading branch information
timhunt committed Sep 1, 2016
1 parent 3ca3cc7 commit 9e5e0d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions mod/quiz/report/statistics/lang/en/quiz_statistics.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@
Our equation for effective question weight cannot be calculated in this case. The calculations for effective question weight for other questions in this quiz are the effective question weight for these questions if the highlighted questions with a negative covariance are given a maximum grade of zero.
If you edit a quiz and give these question(s) with negative covariance a max grade of zero then the effective question weight of these questions will be zero and the real effective question weight of other questions will be as calculated now.';
$string['nogradedattempts'] = 'No attempts have been made at this quiz, or all attempts have questions that need manual grading.';
$string['nostudentsingroup'] = 'There are no students in this group yet';
$string['optiongrade'] = 'Partial credit';
$string['partofquestion'] = 'Part of question';
Expand Down
2 changes: 1 addition & 1 deletion mod/quiz/report/statistics/report.php
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ public function display($quiz, $cm, $course) {
}

if (!$this->table->is_downloading() && $quizstats->s() == 0) {
echo $OUTPUT->notification(get_string('noattempts', 'quiz'));
echo $OUTPUT->notification(get_string('nogradedattempts', 'quiz_statistics'));
}

foreach ($questionstats->any_error_messages() as $errormessage) {
Expand Down

0 comments on commit 9e5e0d8

Please sign in to comment.