diff --git a/contentbank/edit.php b/contentbank/edit.php index f272d4b4599..669b54f8799 100644 --- a/contentbank/edit.php +++ b/contentbank/edit.php @@ -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');