summaryrefslogtreecommitdiff
path: root/app/Template/analytic
diff options
context:
space:
mode:
authorBusfreak <martin@middeke.de>2016-02-03 18:00:20 +0100
committerBusfreak <martin@middeke.de>2016-02-03 18:00:20 +0100
commit0a163421c7550d241534c5ef6f4c8a833547941a (patch)
tree797e457ba04f5f97ab53fd2b0b8770e5e46c54bb /app/Template/analytic
parent6727d53e684129b7cacc9f9074cf879ad313975a (diff)
add hook in analysis sidebar
Diffstat (limited to 'app/Template/analytic')
-rw-r--r--app/Template/analytic/sidebar.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/Template/analytic/sidebar.php b/app/Template/analytic/sidebar.php
index 19eef8d5..e809863a 100644
--- a/app/Template/analytic/sidebar.php
+++ b/app/Template/analytic/sidebar.php
@@ -22,6 +22,9 @@
<li <?= $this->app->checkMenuSelection('analytic', 'compareHours') ?>>
<?= $this->url->link(t('Estimated vs actual time'), 'analytic', 'compareHours', array('project_id' => $project['id'])) ?>
</li>
+
+ <?= $this->hook->render('template:analytic: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>