diff options
author | stinnux <me@stinnux.de> | 2016-08-16 09:12:50 +0200 |
---|---|---|
committer | stinnux <me@stinnux.de> | 2016-08-16 09:12:50 +0200 |
commit | 72e46401ffe53627e32a58d03993f7efbb44afff (patch) | |
tree | 60206d7bef92855af2d2af64758b5f32c9f01c42 /app/Template/project_list | |
parent | 5f82a942c0011bf91947b2c1d627c0907bda0c92 (diff) |
Added template hooks for menu on project list
Diffstat (limited to 'app/Template/project_list')
-rw-r--r-- | app/Template/project_list/show.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/Template/project_list/show.php b/app/Template/project_list/show.php index 8e4c3e6a..76a3ad7b 100644 --- a/app/Template/project_list/show.php +++ b/app/Template/project_list/show.php @@ -1,12 +1,14 @@ <section id="main"> <div class="page-header"> <ul> + <?= $this->hook->render('template:projectlist:menubefore', array('project' => $project)) ?> <?php if ($this->user->hasAccess('ProjectUserOverviewController', 'managers')): ?> <li><i class="fa fa-user fa-fw"></i><?= $this->url->link(t('Users overview'), 'ProjectUserOverviewController', 'managers') ?></li> <?php endif ?> <?php if ($this->user->hasAccess('ProjectGanttController', 'show')): ?> <li><i class="fa fa-sliders fa-fw"></i><?= $this->url->link(t('Projects Gantt chart'), 'ProjectGanttController', 'show') ?></li> <?php endif ?> + <?= $this->hook->render('template:projectlist:menuafter', array('project' => $project)) ?> </ul> </div> <?php if ($paginator->isEmpty()): ?> |