mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
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:
commit
4abfc497e2
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user