mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-20418 Entirely removed the duplication of code by refactoring the way the grader report is built. Uses $OUTPUT only now.
This commit is contained in:
parent
5f8bce506f
commit
6c096a496d
@ -170,16 +170,7 @@ if (!empty($studentsperpage)) {
|
||||
echo $OUTPUT->paging_bar(moodle_paging_bar::make($numusers, $report->page, $studentsperpage, $report->pbarurl));
|
||||
}
|
||||
|
||||
$reporthtml = '<div class="gradeparent">';
|
||||
$reporthtml .= $report->get_studentnameshtml();
|
||||
$reporthtml .= $report->get_headerhtml();
|
||||
$reporthtml .= $report->get_iconshtml();
|
||||
$reporthtml .= $report->get_studentshtml();
|
||||
$reporthtml .= $report->get_rangehtml();
|
||||
$reporthtml .= $report->get_avghtml(true);
|
||||
$reporthtml .= $report->get_avghtml();
|
||||
$reporthtml .= $report->get_endhtml();
|
||||
$reporthtml .= '</div>';
|
||||
$reporthtml = $report->get_grade_table();
|
||||
|
||||
// print submit button
|
||||
if ($USER->gradeediting[$course->id] && ($report->get_pref('showquickfeedback') || $report->get_pref('quickgrading')) && !$report->get_pref('enableajax')) {
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user