Commit 2bce89eb authored by Camille Tardy's avatar Camille Tardy
Browse files

Add search Courses page title in theme


Signed-off-by: Camille Tardy's avatarCamille Tardy <camille.tardy@unige.ch>
parent 6c08e9f3
......@@ -162,6 +162,7 @@ class core_renderer extends \theme_boost\output\core_renderer {
$heading = "";
// Page title.
// overide Page title for specific pages
switch ($this->page->pagelayout) {
case 'mydashboard':
$heading = get_string('my-courses', 'theme_unige');
......@@ -184,6 +185,8 @@ class core_renderer extends \theme_boost\output\core_renderer {
OR $this->page->pagetype == "badges-preferences"
OR $this->page->pagetype == "badges-mybackpack") {
$heading = get_string('preferences', 'moodle');
} elseif ($this->page->pagetype == "course-search"){
$heading = get_string('searchcourses', 'moodle');
}
break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment