mirror of
https://github.com/moodle/moodle.git
synced 2025-08-03 08:09:47 +02:00
MDL-84677 backup: Filter course shortnames in copy progress viewer.
This commit is contained in:
parent
a57387fe2d
commit
75842dcd42
1 changed files with 3 additions and 2 deletions
|
@ -1093,8 +1093,9 @@ class core_backup_renderer extends plugin_renderer_base {
|
||||||
$sourceurl = new \moodle_url('/course/view.php', array('id' => $copy->sourceid));
|
$sourceurl = new \moodle_url('/course/view.php', array('id' => $copy->sourceid));
|
||||||
|
|
||||||
$tablerow = array(
|
$tablerow = array(
|
||||||
html_writer::link($sourceurl, $copy->source),
|
html_writer::link($sourceurl, format_string($copy->source, true,
|
||||||
$copy->destination,
|
['context' => context_course::instance($copy->sourceid)])),
|
||||||
|
format_string($copy->destination, true, ['context' => context_course::instance($copy->sourceid)]),
|
||||||
userdate($copy->timecreated),
|
userdate($copy->timecreated),
|
||||||
get_string($copy->operation),
|
get_string($copy->operation),
|
||||||
$this->get_status_display($copy->status, $copy->backupid, $copy->restoreid, $copy->operation)
|
$this->get_status_display($copy->status, $copy->backupid, $copy->restoreid, $copy->operation)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue