diff options
author | Olivier Maridat <olivier.maridat@trialog.com> | 2016-04-18 19:31:17 +0200 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2016-04-18 13:31:17 -0400 |
commit | 53c992d6801918527da90d203697e2f6ea09fe9b (patch) | |
tree | 7bbca8aed6393c16e2eff0e3f65419ae677ab3b5 /app/Template/task/sidebar.php | |
parent | bd64a2081ad1a5c953e38c746a9b5d4eecba088b (diff) |
Add hooks in task sidebar as in user sidebar (#2138)
Diffstat (limited to 'app/Template/task/sidebar.php')
-rw-r--r-- | app/Template/task/sidebar.php | 6 |
1 files changed, 4 insertions, 2 deletions
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 @@ <?= $this->url->link(t('Time tracking'), 'task', 'timetracking', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?> </li> <?php endif ?> + + <?= $this->hook->render('template:task:sidebar:information', array('task' => $task)) ?> </ul> <?php if ($this->user->hasProjectAccess('taskmodification', 'edit', $task['project_id'])): ?> @@ -91,8 +93,8 @@ <?= $this->url->link(t('Remove'), 'task', 'remove', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'popover') ?> </li> <?php endif ?> + + <?= $this->hook->render('template:task:sidebar:actions', array('task' => $task)) ?> </ul> <?php endif ?> - - <?= $this->hook->render('template:task:sidebar', array('task' => $task)) ?> </div> |