extend hook 'template:project:sidebar' with $project

This commit is contained in:
Busfreak 2015-12-17 19:36:19 +01:00
parent c51ecdf2a6
commit bf2034b416
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@
<?php endif ?>
<?php endif ?>
<?= $this->hook->render('template:project:sidebar') ?>
<?= $this->hook->render('template:project:sidebar', array('project' => $project)) ?>
</ul>
<div class="sidebar-collapse"><a href="#" title="<?= t('Hide sidebar') ?>"><i class="fa fa-chevron-left"></i></a></div>
<div class="sidebar-expand" style="display: none"><a href="#" title="<?= t('Expand sidebar') ?>"><i class="fa fa-chevron-right"></i></a></div>