From ffe61abc6910670c5c2c243eb82d9f5851f06c6b Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 13 Aug 2016 17:49:27 -0400 Subject: Improve form helpers and add more hooks --- app/Template/dashboard/show.php | 2 ++ app/Template/dashboard/sidebar.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'app/Template/dashboard') 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 @@ render('dashboard/projects', array('paginator' => $project_paginator, 'user' => $user)) ?> render('dashboard/tasks', array('paginator' => $task_paginator, 'user' => $user)) ?> render('dashboard/subtasks', array('paginator' => $subtask_paginator, 'user' => $user)) ?> + +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 @@
  • app->checkMenuSelection('DashboardController', 'notifications') ?>> url->link(t('My notifications'), 'DashboardController', 'notifications', array('user_id' => $user['id'])) ?>
  • - hook->render('template:dashboard:sidebar') ?> + hook->render('template:dashboard:sidebar', array('user' => $user)) ?> -- cgit v1.2.3