Merge branch 'MDL-80259-main' of https://github.com/roland04/moodle

This commit is contained in:
Sara Arjona 2024-01-24 09:16:12 +01:00
commit 8b36abdb9d
No known key found for this signature in database
93 changed files with 218 additions and 209 deletions

View file

@ -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']);