Merge branch 'mdl-83695_404' of https://github.com/james-cnz/moodle into MOODLE_404_STABLE

This commit is contained in:
Jun Pataleta
2025-02-05 18:13:02 +01:00
committed by Sara Arjona
+6 -1
View File
@@ -205,7 +205,12 @@ if (!empty($automatedbackups)) {
// In progress course restores.
if (async_helper::is_async_enabled()) {
echo $OUTPUT->heading_with_help(get_string('asyncrestoreinprogress', 'backup'), 'asyncrestoreinprogress', 'backup');
echo $OUTPUT->heading_with_help(
get_string('asyncrestoreinprogress', 'backup'),
'asyncrestoreinprogress',
'backup',
classnames: ['mt-6']
);
echo $OUTPUT->container_start();
$renderer = $PAGE->get_renderer('core', 'backup');
echo $renderer->restore_progress_viewer($USER->id, $context);