Skip to content

Commit

Permalink
Merge branch 'MDL-59879-33' of https://github.com/abias/moodle into M…
Browse files Browse the repository at this point in the history
…OODLE_33_STABLE
  • Loading branch information
David Monllao committed Sep 12, 2017
2 parents f69b918 + 591ff76 commit e79467c
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 e79467c

Please sign in to comment.