mirror of
https://github.com/moodle/moodle.git
synced 2025-04-24 09:55:33 +02:00
MDL-73645 core_contentbank: Update breadcrumb nodes
This commit is contained in:
parent
724578a008
commit
e7d9be51ab
@ -88,6 +88,9 @@ if ($PAGE->course) {
|
||||
|
||||
$PAGE->set_url(new \moodle_url('/contentbank/edit.php', $values));
|
||||
$PAGE->set_context($context);
|
||||
if ($content) {
|
||||
$PAGE->navbar->add($content->get_name(), new \moodle_url('/contentbank/view.php', ['id' => $id]));
|
||||
}
|
||||
$PAGE->navbar->add(get_string('edit'));
|
||||
$PAGE->set_title($title);
|
||||
$PAGE->set_pagelayout('incourse');
|
||||
|
Loading…
x
Reference in New Issue
Block a user