MDL-80082 report_completion: Output 'Nothing to display' as notification

This commit is contained in:
Luca Bösch 2023-11-21 21:51:04 +01:00
parent f4282b726e
commit 49d7ca455c

View File

@ -307,7 +307,7 @@ if (!$csv) {
print $pagingbar;
if (!$total) {
echo $OUTPUT->heading(get_string('nothingtodisplay'), 2);
echo $OUTPUT->notification(get_string('nothingtodisplay'), 'info', false);
echo $OUTPUT->footer();
exit;
}