Merge branch 'MDL-20562-report-link-string' of git://github.com/mudrd8mz/moodle
This commit is contained in:
@@ -27,4 +27,4 @@ $string['loglive'] = 'Live logs';
|
||||
$string['log:view'] = 'View course logs';
|
||||
$string['log:viewlive'] = 'View live logs';
|
||||
$string['log:viewtoday'] = 'View today\'s logs';
|
||||
$string['pluginname'] = 'Live logs';
|
||||
$string['pluginname'] = 'Logs';
|
||||
|
||||
@@ -534,6 +534,6 @@ function log_report_extend_navigation($navigation, $course, $context) {
|
||||
global $CFG, $OUTPUT;
|
||||
if (has_capability('coursereport/log:view', $context)) {
|
||||
$url = new moodle_url('/course/report/log/index.php', array('id'=>$course->id));
|
||||
$navigation->add(get_string('log:view', 'coursereport_log'), $url, navigation_node::TYPE_SETTING, null, null, new pix_icon('i/report', ''));
|
||||
$navigation->add(get_string('pluginname', 'coursereport_log'), $url, navigation_node::TYPE_SETTING, null, null, new pix_icon('i/report', ''));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user