MDL-74078 theme: Add missing block regions to mycourses

This commit is contained in:
Bas Brands
2022-04-01 15:12:56 +08:00
committed by Michael Hawkins
parent 7ce003b666
commit 1ed689080a
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -81,7 +81,8 @@ $THEME->layouts = [
// My courses page.
'mycourses' => array(
'file' => 'drawers.php',
'regions' => array(),
'regions' => ['side-pre'],
'defaultregion' => 'side-pre',
'options' => array('nonavbar' => true),
),
// My dashboard page.
+2 -1
View File
@@ -75,7 +75,8 @@ $THEME->layouts = [
// My courses page.
'mycourses' => array(
'file' => 'columns.php',
'regions' => array()
'regions' => ['side-pre', 'side-post'],
'defaultregion' => 'side-pre',
),
// My dashboard page.
'mydashboard' => array(