From 6bb59759e7ae079befd963fc1ce5d3c9ec1fdecc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luca=20B=C3=B6sch?= Date: Sat, 11 Nov 2023 17:53:04 +0100 Subject: [PATCH] MDL-80082 table: Output 'Nothing to display' as notification. --- lib/tablelib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tablelib.php b/lib/tablelib.php index c3cbbac6279..fcbab0ad5f4 100644 --- a/lib/tablelib.php +++ b/lib/tablelib.php @@ -1049,7 +1049,7 @@ class flexible_table { $this->print_initials_bar(); - echo $OUTPUT->heading(get_string('nothingtodisplay')); + echo $OUTPUT->notification(get_string('nothingtodisplay'), 'info', false); // Render the dynamic table footer. echo $this->get_dynamic_table_html_end();