summaryrefslogtreecommitdiff
path: root/app/Template/task
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-01-24 18:15:21 -0500
committerFrederic Guillot <fred@kanboard.net>2016-01-24 18:15:21 -0500
commitabcfd02067b348e1c86f61e7545b93f87ea89569 (patch)
tree88af1382f729659dd8bcdb1669653da827c19d29 /app/Template/task
parent4fa38bf417dd7f1673f63641460092bd046d57b7 (diff)
Split project edition into multiple pages
Diffstat (limited to 'app/Template/task')
-rw-r--r--app/Template/task/layout.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Template/task/layout.php b/app/Template/task/layout.php
index 0ceb9706..9fe1a716 100644
--- a/app/Template/task/layout.php
+++ b/app/Template/task/layout.php
@@ -9,7 +9,7 @@
<i class="fa fa-calendar fa-fw"></i>
<?= $this->url->link(t('Back to the calendar'), 'calendar', 'show', array('project_id' => $task['project_id'])) ?>
</li>
- <?php if ($this->user->hasProjectAccess('project', 'edit', $task['project_id'])): ?>
+ <?php if ($this->user->hasProjectAccess('ProjectEdit', 'edit', $task['project_id'])): ?>
<li>
<i class="fa fa-cog fa-fw"></i>
<?= $this->url->link(t('Project settings'), 'project', 'show', array('project_id' => $task['project_id'])) ?>