From 53c992d6801918527da90d203697e2f6ea09fe9b Mon Sep 17 00:00:00 2001 From: Olivier Maridat Date: Mon, 18 Apr 2016 19:31:17 +0200 Subject: Add hooks in task sidebar as in user sidebar (#2138) --- app/Template/task/sidebar.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'app') diff --git a/app/Template/task/sidebar.php b/app/Template/task/sidebar.php index 773b28dc..a2d73b8c 100644 --- a/app/Template/task/sidebar.php +++ b/app/Template/task/sidebar.php @@ -23,6 +23,8 @@ url->link(t('Time tracking'), 'task', 'timetracking', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?> + + hook->render('template:task:sidebar:information', array('task' => $task)) ?> user->hasProjectAccess('taskmodification', 'edit', $task['project_id'])): ?> @@ -91,8 +93,8 @@ url->link(t('Remove'), 'task', 'remove', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'popover') ?> + + hook->render('template:task:sidebar:actions', array('task' => $task)) ?> - - hook->render('template:task:sidebar', array('task' => $task)) ?> -- cgit v1.2.3