Skip to content

Commit

Permalink
MDL-59879 navigation: Add node key to competencies navigation node
Browse files Browse the repository at this point in the history
  • Loading branch information
abias committed Aug 21, 2017
1 parent fca5d3d commit 6eeaf27
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/navigationlib.php
Expand Up @@ -2715,7 +2715,8 @@ public function add_course_essentials($coursenode, stdClass $course) {
// Just a link to course competency.
$title = get_string('competencies', 'core_competency');
$path = new moodle_url("/admin/tool/lp/coursecompetencies.php", array('courseid' => $course->id));
$coursenode->add($title, $path, navigation_node::TYPE_SETTING, null, null, new pix_icon('i/competencies', ''));
$coursenode->add($title, $path, navigation_node::TYPE_SETTING, null, 'competencies',
new pix_icon('i/competencies', ''));
}
if ($navoptions->grades) {
$url = new moodle_url('/grade/report/index.php', array('id'=>$course->id));
Expand Down

0 comments on commit 6eeaf27

Please sign in to comment.