mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 20:53:53 +01:00
Merge branch 'MDL-35521' of https://github.com/raymondAntonio/moodle
This commit is contained in:
commit
23e1c92db6
@ -264,9 +264,12 @@ class assign_grading_table extends table_sql implements renderable {
|
||||
}
|
||||
}
|
||||
|
||||
// final grade
|
||||
$columns[] = 'finalgrade';
|
||||
$headers[] = get_string('finalgrade', 'grades');
|
||||
// Exclude 'Final grade' column in downloaded grading worksheets.
|
||||
if (!$this->is_downloading()) {
|
||||
// Final grade.
|
||||
$columns[] = 'finalgrade';
|
||||
$headers[] = get_string('finalgrade', 'grades');
|
||||
}
|
||||
|
||||
// load the grading info for all users
|
||||
$this->gradinginfo = grade_get_grades($this->assignment->get_course()->id, 'mod', 'assign', $this->assignment->get_instance()->id, $users);
|
||||
|
Loading…
x
Reference in New Issue
Block a user