mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
added 'Reviewed' assignment status to My moodle page MDL-6834, patch submitted by Stephen Bourget - thanks!
This commit is contained in:
parent
67a6156c5a
commit
c664a03609
@ -96,6 +96,7 @@ $string['pagesize'] = 'Submissions shown per page';
|
||||
$string['preventlate'] = 'Prevent late submissions';
|
||||
$string['quickgrade'] = 'Allow quick grading';
|
||||
$string['responsefiles'] = 'Response files';
|
||||
$string['reviewed'] = 'Reviewed';
|
||||
$string['saveallfeedback'] = 'Save all my feedback';
|
||||
$string['sendformarking'] = 'Send for marking';
|
||||
$string['submission'] = 'Submission';
|
||||
|
@ -2398,6 +2398,7 @@ function assignment_print_overview($courses, &$htmlarray) {
|
||||
$strnotsubmittedyet = get_string('notsubmittedyet', 'assignment');
|
||||
$strsubmitted = get_string('submitted', 'assignment');
|
||||
$strassignment = get_string('modulename', 'assignment');
|
||||
$strreviewed = get_string('reviewed','assignment');
|
||||
|
||||
foreach ($assignments as $assignment) {
|
||||
$str = '<div class="assignment overview"><div class="name">'.$strassignment. ': '.
|
||||
@ -2433,6 +2434,8 @@ function assignment_print_overview($courses, &$htmlarray) {
|
||||
if ($submission = get_record_sql($sql)) {
|
||||
if ($submission->teacher == 0 && $submission->timemarked == 0) {
|
||||
$str .= $strsubmitted . ', ' . $strnotgradedyet;
|
||||
} else if ($submission->grade <= 0) {
|
||||
$str .= $strsubmitted . ', ' . $strreviewed;
|
||||
} else {
|
||||
$str .= $strsubmitted . ', ' . $strgraded;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user