summaryrefslogtreecommitdiff
path: root/app/Helper/LayoutHelper.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-05-04 23:16:59 -0400
committerFrederic Guillot <fred@kanboard.net>2016-05-04 23:16:59 -0400
commit6b78b882d8e7e23353fa401dd3b34c7c262dab62 (patch)
tree466a082a4b10b8f0e974be494e8c7040150288b9 /app/Helper/LayoutHelper.php
parent65921f81ac04d6bca5271b1c6544c8bdc9cfb331 (diff)
Improve web page title on the task view
Diffstat (limited to 'app/Helper/LayoutHelper.php')
-rw-r--r--app/Helper/LayoutHelper.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/Helper/LayoutHelper.php b/app/Helper/LayoutHelper.php
index 9384da1b..cbda85a3 100644
--- a/app/Helper/LayoutHelper.php
+++ b/app/Helper/LayoutHelper.php
@@ -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);
}