diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-05-28 14:29:07 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-05-28 14:29:07 -0400 |
commit | 9e218032c485b7ab6ef8e00f45890151988b0f90 (patch) | |
tree | 6eb1d18b2228c792620cc2b0233fa4e86c7182d7 /app/Template/dashboard/projects.php | |
parent | 8d12e2fe736a72d6ad69807ac853a7e325c8cbf3 (diff) |
Split Gantt controller
Diffstat (limited to 'app/Template/dashboard/projects.php')
-rw-r--r-- | app/Template/dashboard/projects.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Template/dashboard/projects.php b/app/Template/dashboard/projects.php index 4d33519a..4aa40621 100644 --- a/app/Template/dashboard/projects.php +++ b/app/Template/dashboard/projects.php @@ -22,8 +22,8 @@ <?php endif ?> </td> <td> - <?php if ($this->user->hasProjectAccess('gantt', 'project', $project['id'])): ?> - <?= $this->url->link('<i class="fa fa-sliders fa-fw"></i>', 'gantt', 'project', array('project_id' => $project['id']), false, 'dashboard-table-link', t('Gantt chart')) ?> + <?php if ($this->user->hasProjectAccess('TaskGanttController', 'show', $project['id'])): ?> + <?= $this->url->link('<i class="fa fa-sliders fa-fw"></i>', 'TaskGanttController', 'show', array('project_id' => $project['id']), false, 'dashboard-table-link', t('Gantt chart')) ?> <?php endif ?> <?= $this->url->link('<i class="fa fa-list"></i>', 'TaskListController', 'show', array('project_id' => $project['id']), false, 'dashboard-table-link', t('List')) ?> |