MDL-70198 core_navigation: Implement secondary nav and curate nodes
Implement the new secondary nav and curate the nodes from flatnav and settingsnav
This commit is contained in:
@@ -4470,7 +4470,7 @@ class settings_navigation extends navigation_node {
|
||||
if ($adminoptions->editcompletion) {
|
||||
// Add the course completion settings link
|
||||
$url = new moodle_url('/course/completion.php', array('id' => $course->id));
|
||||
$coursenode->add(get_string('coursecompletion', 'completion'), $url, self::TYPE_SETTING, null, null,
|
||||
$coursenode->add(get_string('coursecompletion', 'completion'), $url, self::TYPE_SETTING, null, 'coursecompletion',
|
||||
new pix_icon('i/settings', ''));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user