mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-39987 theme_bootstrapbase: Fixed menunode text in renderers/core_renderer.php.
This commit is contained in:
parent
b6f8a93642
commit
c14964cacb
@ -138,8 +138,8 @@ class theme_bootstrapbase_core_renderer extends core_renderer {
|
||||
} else {
|
||||
$url = '#cm_submenu_'.$submenucount;
|
||||
}
|
||||
$content .= html_writer::start_tag('a', array('href'=>$url, 'class'=>'dropdown-toggle', 'data-toggle'=>'dropdown'));
|
||||
$content .= $menunode->get_title();
|
||||
$content .= html_writer::start_tag('a', array('href'=>$url, 'class'=>'dropdown-toggle', 'data-toggle'=>'dropdown', 'title'=>$menunode->get_title()));
|
||||
$content .= $menunode->get_text();
|
||||
if ($level == 1) {
|
||||
$content .= '<b class="caret"></b>';
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user