Merge branch '76319-gradebook-add-missing-continue-button-401' of https://github.com/DSI-Universite-Rennes2/moodle into MOODLE_401_STABLE

This commit is contained in:
Sara Arjona 2023-07-12 08:28:15 +02:00
commit 4abfc497e2
No known key found for this signature in database

View File

@ -76,6 +76,7 @@ if (!$iid) {
$csvimporterror = $csvimport->get_error();
if (!empty($csvimporterror)) {
echo $renderer->errors(array($csvimport->get_error()));
echo $OUTPUT->continue_button(new moodle_url('/grade/import/csv/index.php', ['id' => $course->id]));
echo $OUTPUT->footer();
die();
}
@ -122,6 +123,7 @@ if ($formdata = $mform2->get_data()) {
$errors = $gradeimport->get_gradebookerrors();
$errors[] = get_string('importfailed', 'grades');
echo $renderer->errors($errors);
echo $OUTPUT->continue_button(new moodle_url('/grade/import/csv/index.php', ['id' => $course->id]));
}
echo $OUTPUT->footer();
} else {