From 49d7ca455cc9d4e76c9912995df34c0e629dc0b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luca=20B=C3=B6sch?= Date: Tue, 21 Nov 2023 21:51:04 +0100 Subject: [PATCH] MDL-80082 report_completion: Output 'Nothing to display' as notification --- report/completion/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/report/completion/index.php b/report/completion/index.php index a3d113f9f64..a6fad00e663 100644 --- a/report/completion/index.php +++ b/report/completion/index.php @@ -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; }