Merge branch 'MDL-87452-501' of https://github.com/lucaboesch/moodle into MOODLE_501_STABLE
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user