diff --git a/grade/report/summary/classes/local/entities/grade_items.php b/grade/report/summary/classes/local/entities/grade_items.php index 410d81513de..8cfbeb7d748 100644 --- a/grade/report/summary/classes/local/entities/grade_items.php +++ b/grade/report/summary/classes/local/entities/grade_items.php @@ -157,7 +157,8 @@ class grade_items extends base { $html = \html_writer::start_div('page-context-header' . $dimmed); // Image data. $html .= \html_writer::div($imagedata, 'page-header-image mr-2'); - $prefix = \html_writer::div($row->itemmodule, 'text-muted text-uppercase small line-height-3'); + $prefix = \html_writer::div(get_string('pluginname', "mod_{$row->itemmodule}"), + 'text-muted text-uppercase small line-height-3'); $name = $prefix . \html_writer::link($url, format_string($cm->name, true)); $html .= \html_writer::tag('div', $name, ['class' => 'page-header-headings']); } else {