summaryrefslogtreecommitdiff
path: root/app/Template/project_header/dropdown.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-09-03 20:39:13 -0400
committerFrederic Guillot <fred@kanboard.net>2016-09-03 20:39:13 -0400
commit8c07a0d03e64227c552f3b4530d3a1e1ba53402b (patch)
tree1d60285831f41beae2067fe55bd820affda6ebe3 /app/Template/project_header/dropdown.php
parent59fd3c366cd34cf1be3f20d44b424107c88c030b (diff)
Convert task distribution chart to Vue.js component
Diffstat (limited to 'app/Template/project_header/dropdown.php')
-rw-r--r--app/Template/project_header/dropdown.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Template/project_header/dropdown.php b/app/Template/project_header/dropdown.php
index f8901289..baf4cc16 100644
--- a/app/Template/project_header/dropdown.php
+++ b/app/Template/project_header/dropdown.php
@@ -50,10 +50,10 @@
<?= $this->hook->render('template:project:dropdown', array('project' => $project)) ?>
- <?php if ($this->user->hasProjectAccess('AnalyticController', 'tasks', $project['id'])): ?>
+ <?php if ($this->user->hasProjectAccess('AnalyticController', 'taskDistribution', $project['id'])): ?>
<li>
<i class="fa fa-line-chart fa-fw"></i>
- <?= $this->url->link(t('Analytics'), 'AnalyticController', 'tasks', array('project_id' => $project['id'])) ?>
+ <?= $this->url->link(t('Analytics'), 'AnalyticController', 'taskDistribution', array('project_id' => $project['id'])) ?>
</li>
<?php endif ?>