-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
2.5.2
-
MOODLE_25_STABLE
While most modules show the title of the course in the main header, the assignment module is rendering the assignment name in the main header.
FIX:
/mod/assign/view.php |
require_login($course, true, $cm);
|
$PAGE->set_url($url);
|
++$PAGE->set_heading($PAGE->course->fullname);
|
/mod/assign/renderer.php |
public function render_assign_header(assign_header $header) {
|
$o = '';
|
|
if ($header->subpage) {
|
$this->page->navbar->add($header->subpage);
|
}
|
|
$this->page->set_title(get_string('pluginname', 'assign'));
|
--$this->page->set_heading($header->assign->name);
|
- duplicates
-
MDL-41621 Fix heading level for Assignment
-
- Closed
-