Skip to content

Commit

Permalink
MDL-73561 grade: Use proper alert for success message
Browse files Browse the repository at this point in the history
  • Loading branch information
sarjona committed Jan 13, 2022
1 parent bb9cd17 commit 817212b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion grade/report/singleview/index.php
Expand Up @@ -123,7 +123,10 @@
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();
Expand Down

0 comments on commit 817212b

Please sign in to comment.