MDL-73561 grade: Use proper alert for success message

This commit is contained in:
Sara Arjona
2022-01-13 09:22:33 +01:00
parent bb9cd179ed
commit 817212be50
+4 -1
View File
@@ -123,7 +123,10 @@ if ($data = data_submitted()) {
echo $OUTPUT->notification($warning);
}
}
echo $OUTPUT->notification(get_string('savegradessuccess', 'gradereport_singleview', count ((array)$result->changecount)));
echo $OUTPUT->notification(
get_string('savegradessuccess', 'gradereport_singleview', count ((array)$result->changecount)),
'success'
);
echo $OUTPUT->continue_button($currentpage);
echo $OUTPUT->footer();
die();