MDL-49845 notes: Changed headers for notes index

This commit is contained in:
Dave Cooper
2015-05-04 14:02:17 +08:00
parent a7e98a6900
commit 327e68e69d
3 changed files with 28 additions and 8 deletions
+1 -1
View File
@@ -2562,7 +2562,7 @@ class global_navigation extends navigation_node {
}
}
if (!empty($CFG->enablenotes) && (has_capability('moodle/notes:manage', $this->page->context) || has_capability('moodle/notes:view', $this->page->context))) {
$participants->add(get_string('notes','notes'), new moodle_url('/notes/index.php', array('filtertype'=>'course', 'filterselect'=>$course->id)));
$participants->add(get_string('notes', 'notes'), new moodle_url('/notes/index.php', array('filtertype' => 'course', 'filterselect' => $course->id)), self::TYPE_SETTING, null, 'currentcoursenotes');
}
} else if (count($this->extendforuser) > 0 || $this->page->course->id == $course->id) {
$participants = $coursenode->add(get_string('participants'), null, self::TYPE_CONTAINER, get_string('participants'), 'participants');