diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-08-13 17:49:27 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-08-13 17:49:27 -0400 |
commit | ffe61abc6910670c5c2c243eb82d9f5851f06c6b (patch) | |
tree | 0a1833f8a7f22ac239f8914f2e870a881e630e41 /app/Template | |
parent | 4ffaba2ba0dd6b5810adea1916080c3b645f3d29 (diff) |
Improve form helpers and add more hooks
Diffstat (limited to 'app/Template')
-rw-r--r-- | app/Template/dashboard/show.php | 2 | ||||
-rw-r--r-- | app/Template/dashboard/sidebar.php | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/app/Template/dashboard/show.php b/app/Template/dashboard/show.php index cb18b79d..aec6f591 100644 --- a/app/Template/dashboard/show.php +++ b/app/Template/dashboard/show.php @@ -15,3 +15,5 @@ <?= $this->render('dashboard/projects', array('paginator' => $project_paginator, 'user' => $user)) ?> <?= $this->render('dashboard/tasks', array('paginator' => $task_paginator, 'user' => $user)) ?> <?= $this->render('dashboard/subtasks', array('paginator' => $subtask_paginator, 'user' => $user)) ?> + +<?= $this->hook->render('template:dashboard:show', array('user' => $user)) ?> diff --git a/app/Template/dashboard/sidebar.php b/app/Template/dashboard/sidebar.php index df4e91a5..108c028a 100644 --- a/app/Template/dashboard/sidebar.php +++ b/app/Template/dashboard/sidebar.php @@ -21,6 +21,6 @@ <li <?= $this->app->checkMenuSelection('DashboardController', 'notifications') ?>> <?= $this->url->link(t('My notifications'), 'DashboardController', 'notifications', array('user_id' => $user['id'])) ?> </li> - <?= $this->hook->render('template:dashboard:sidebar') ?> + <?= $this->hook->render('template:dashboard:sidebar', array('user' => $user)) ?> </ul> </div> |