diff options
author | Timo Litzbarski <tili2@gmx.de> | 2016-02-16 13:47:43 +0000 |
---|---|---|
committer | Timo Litzbarski <tili2@gmx.de> | 2016-02-16 13:47:43 +0000 |
commit | 3e9ae8963cdc6531eb315efe81451194837d81f5 (patch) | |
tree | 16cf606666e6ea618fb7f3027ed40df71b23841d /app/Template | |
parent | 3a44db6029fb2d833d75fbc70c424e3f9cb85d82 (diff) |
enrich hooks
Diffstat (limited to 'app/Template')
-rw-r--r-- | app/Template/task/sidebar.php | 2 | ||||
-rw-r--r-- | app/Template/user/sidebar.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/Template/task/sidebar.php b/app/Template/task/sidebar.php index d1fab13e..951c5095 100644 --- a/app/Template/task/sidebar.php +++ b/app/Template/task/sidebar.php @@ -28,6 +28,6 @@ <?= $this->url->link(t('External links'), 'TaskExternalLink', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?> </li> - <?= $this->hook->render('template:task:sidebar') ?> + <?= $this->hook->render('template:task:sidebar', array('task' => $task)) ?> </ul> </div> diff --git a/app/Template/user/sidebar.php b/app/Template/user/sidebar.php index 7e367443..b128ca28 100644 --- a/app/Template/user/sidebar.php +++ b/app/Template/user/sidebar.php @@ -24,7 +24,7 @@ </li> <?php endif ?> - <?= $this->hook->render('template:user:sidebar:information') ?> + <?= $this->hook->render('template:user:sidebar:information', array('user' => $user)) ?> </ul> <h2><?= t('Actions') ?></h2> |