summaryrefslogtreecommitdiff
path: root/app/Template/activity
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/activity')
-rw-r--r--app/Template/activity/project.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Template/activity/project.php b/app/Template/activity/project.php
index bc585212..34be06f5 100644
--- a/app/Template/activity/project.php
+++ b/app/Template/activity/project.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->isProjectManagementAllowed($project['id'])): ?>
+ <?php if ($this->user->hasProjectAccess('project', 'edit', $project['id'])): ?>
<li>
<i class="fa fa-cog fa-fw"></i>
<?= $this->url->link(t('Project settings'), 'project', 'show', array('project_id' => $project['id'])) ?>