Merge branch 'MDL-87452-501' of https://github.com/lucaboesch/moodle into MOODLE_501_STABLE

This commit is contained in:
Mihail Geshoski
2026-02-24 14:17:12 +08:00
+6 -3
View File
@@ -898,7 +898,8 @@ function lesson_get_overview_report_table_and_data(lesson $lesson, $currentgroup
'label' => $selectall,
'selectall' => $selectall,
'deselectall' => $deselectall,
'labelclasses' => 'form-check-label'
'classes' => 'form-check-input',
'labelclasses' => 'form-check-label',
]);
$attemptsheader = $OUTPUT->render($togglercheckbox);
}
@@ -995,9 +996,11 @@ function lesson_get_overview_report_table_and_data(lesson $lesson, $currentgroup
$checkbox = new \core\output\checkbox_toggleall('lesson-attempts', false, [
'id' => $attemptid,
'name' => $attemptname,
'label' => $attemptlink
'label' => $attemptlink,
'classes' => 'form-check-input',
'labelclasses' => 'form-check-label',
]);
$attemptlink = $OUTPUT->render($checkbox);
$attemptlink = html_writer::div($OUTPUT->render($checkbox), 'form-check p-0');
}
// build up the attempts array