Improve web page title on the task view

This commit is contained in:
Frederic Guillot
2016-05-04 23:16:59 -04:00
parent 65921f81ac
commit 6b78b882d8
3 changed files with 11 additions and 1 deletions

View File

@@ -60,6 +60,7 @@ class LayoutHelper extends Base
*/
public function task($template, array $params)
{
$params['page_title'] = $params['task']['project_name'].', #'.$params['task']['id'].' - '.$params['task']['title'];
$params['title'] = $params['task']['project_name'];
return $this->subLayout('task/layout', 'task/sidebar', $template, $params);
}