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/project_header/views.php | |
parent | 8d12e2fe736a72d6ad69807ac853a7e325c8cbf3 (diff) |
Split Gantt controller
Diffstat (limited to 'app/Template/project_header/views.php')
-rw-r--r-- | app/Template/project_header/views.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/Template/project_header/views.php b/app/Template/project_header/views.php index 53ca6fd8..3a41c91b 100644 --- a/app/Template/project_header/views.php +++ b/app/Template/project_header/views.php @@ -15,10 +15,10 @@ <i class="fa fa-list fa-fw"></i> <?= $this->url->link(t('List'), 'TaskListController', 'show', array('project_id' => $project['id'], 'search' => $filters['search']), false, 'view-listing', t('Keyboard shortcut: "%s"', 'v l')) ?> </li> - <?php if ($this->user->hasProjectAccess('gantt', 'project', $project['id'])): ?> - <li <?= $this->app->checkMenuSelection('Gantt') ?>> + <?php if ($this->user->hasProjectAccess('TaskGanttController', 'show', $project['id'])): ?> + <li <?= $this->app->checkMenuSelection('TaskGanttController') ?>> <i class="fa fa-sliders fa-fw"></i> - <?= $this->url->link(t('Gantt'), 'gantt', 'project', array('project_id' => $project['id'], 'search' => $filters['search']), false, 'view-gantt', t('Keyboard shortcut: "%s"', 'v g')) ?> + <?= $this->url->link(t('Gantt'), 'TaskGanttController', 'show', array('project_id' => $project['id'], 'search' => $filters['search']), false, 'view-gantt', t('Keyboard shortcut: "%s"', 'v g')) ?> </li> <?php endif ?> </ul> |