enrich hooks

This commit is contained in:
Timo Litzbarski 2016-02-16 13:47:43 +00:00
parent 3a44db6029
commit 3e9ae8963c
2 changed files with 2 additions and 2 deletions

View File

@ -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>

View File

@ -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>