Merge branch 'MDL-70616-master' of https://github.com/izendegi/moodle

This commit is contained in:
Eloy Lafuente (stronk7) 2021-04-14 12:45:00 +02:00
commit 9ee80056de

View file

@ -231,7 +231,7 @@ if (!empty($method)) {
} else { } else {
$tag = html_writer::tag('span', get_string('statusdraft', 'core_grading'), array('class' => 'status draft')); $tag = html_writer::tag('span', get_string('statusdraft', 'core_grading'), array('class' => 'status draft'));
} }
echo $output->heading(s($definition->name) . ' ' . $tag, 3, 'definition-name'); echo $output->heading(format_string($definition->name) . ' ' . $tag, 3, 'definition-name');
echo $output->box($controller->render_preview($PAGE), 'definition-preview'); echo $output->box($controller->render_preview($PAGE), 'definition-preview');
} }
} }