mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
MDL-40829: courses heading: remove 'headerblock' class from header and fix heading levels
This commit is contained in:
parent
62b35d5852
commit
278d64572d
28 changed files with 22 additions and 132 deletions
|
@ -651,7 +651,7 @@ abstract class format_section_renderer_base extends plugin_renderer_base {
|
|||
// Title with section navigation links.
|
||||
$sectionnavlinks = $this->get_nav_links($course, $modinfo->get_section_info_all(), $displaysection);
|
||||
$sectiontitle = '';
|
||||
$sectiontitle .= html_writer::start_tag('div', array('class' => 'section-navigation header headingblock'));
|
||||
$sectiontitle .= html_writer::start_tag('div', array('class' => 'section-navigation'));
|
||||
$sectiontitle .= html_writer::tag('span', $sectionnavlinks['previous'], array('class' => 'mdl-left'));
|
||||
$sectiontitle .= html_writer::tag('span', $sectionnavlinks['next'], array('class' => 'mdl-right'));
|
||||
// Title attributes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue