Commit 807fa4aa authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Override microheader dashboard title when editing dashboard


Signed-off-by: default avatarRichard Mansfield <richardm@catalyst.net.nz>
parent a20075c9
...@@ -2725,6 +2725,9 @@ class View { ...@@ -2725,6 +2725,9 @@ class View {
} }
return $title; return $title;
} }
if ($this->type == 'dashboard') {
return '<strong>' . get_string('dashboardviewtitle', 'view') . '</strong>';
}
$ownername = $this->formatted_owner(); $ownername = $this->formatted_owner();
$wwwroot = get_config('wwwroot'); $wwwroot = get_config('wwwroot');
......
Supports Markdown
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