summaryrefslogtreecommitdiff
path: root/app/Template/analytic
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-08-14 15:43:08 -0400
committerFrederic Guillot <fred@kanboard.net>2015-08-14 15:43:08 -0400
commitb2cce5a3a1a0be68102e614b42d2ee6a030bd523 (patch)
tree0014f4362cee39f98727276bc79aa96adc213fee /app/Template/analytic
parent80fb3bc9aa842ef75f1f8282db63ca43282aacd7 (diff)
Add new role Project Administrator
Diffstat (limited to 'app/Template/analytic')
-rw-r--r--app/Template/analytic/layout.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Template/analytic/layout.php b/app/Template/analytic/layout.php
index 9d6bf77c..fd2090ae 100644
--- a/app/Template/analytic/layout.php
+++ b/app/Template/analytic/layout.php
@@ -19,7 +19,7 @@
<i class="fa fa-calendar fa-fw"></i>
<?= $this->url->link(t('Back to the calendar'), 'calendar', 'show', array('project_id' => $project['id'])) ?>
</li>
- <?php if ($this->user->isManager($project['id'])): ?>
+ <?php if ($this->user->isProjectManagementAllowed($project['id'])): ?>
<li>
<i class="fa fa-cog fa-fw"></i>
<?= $this->url->link(t('Project settings'), 'project', 'show', array('project_id' => $project['id'])) ?>