mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 02:16:41 +02:00
Merge branch 'MDL-80259-main' of https://github.com/roland04/moodle
This commit is contained in:
commit
8b36abdb9d
93 changed files with 218 additions and 209 deletions
|
@ -151,7 +151,7 @@ class reports_list extends system_report {
|
|||
->add_callback(function(string $value, stdClass $row) {
|
||||
if (!$this->report_source_valid($value)) {
|
||||
// Add danger badge if report source is not valid (either it's missing, or has errors).
|
||||
return html_writer::span(get_string('errorsourceinvalid', 'core_reportbuilder'), 'badge badge-danger');
|
||||
return html_writer::span(get_string('errorsourceinvalid', 'core_reportbuilder'), 'badge bg-danger text-white');
|
||||
}
|
||||
|
||||
return call_user_func([$value, 'get_name']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue