MDL-71915 mod_workshop: Update tertiary nav

Update the tertiary navigation for the mod_workshop.
This also include a fix for behat tests due to the
tertiary navigation change made.
This commit is contained in:
Sujith Haridasan
2021-12-04 18:09:14 +05:30
parent 51149a78cc
commit e0f584d64c
15 changed files with 190 additions and 70 deletions
+3 -1
View File
@@ -73,7 +73,9 @@ if ($mform->is_cancelled()) {
// Output starts here
echo $OUTPUT->header();
echo $OUTPUT->heading(format_string($workshop->name));
if (!$PAGE->has_secondary_navigation()) {
echo $OUTPUT->heading(format_string($workshop->name));
}
echo $OUTPUT->heading(get_string('pluginname', 'workshopform_' . $workshop->strategy), 3);
$mform->display();