mirror of
https://github.com/moodle/moodle.git
synced 2025-04-19 07:25:30 +02:00
Merge branch 'MDL-43725-master' of git://github.com/ankitagarwal/moodle
This commit is contained in:
commit
e677c1be7c
@ -49,6 +49,11 @@ $context = context_course::instance($course->id);
|
||||
require_capability('report/loglive:view', $context);
|
||||
|
||||
$strlivelogs = get_string('livelogs', 'report_loglive');
|
||||
if (!empty($page)) {
|
||||
$strlogs = get_string('logs'). ": ". get_string('page', 'report_loglive', $page + 1);
|
||||
} else {
|
||||
$strlogs = get_string('logs');
|
||||
}
|
||||
|
||||
if ($inpopup) {
|
||||
\core\session\manager::write_close();
|
||||
|
@ -27,3 +27,4 @@
|
||||
$string['loglive:view'] = 'View live logs';
|
||||
$string['pluginname'] = 'Live logs';
|
||||
$string['livelogs'] = 'Live logs from the past hour';
|
||||
$string['page'] = 'Page {$a}';
|
||||
|
Loading…
x
Reference in New Issue
Block a user