diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/Template/project_header/views.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/app/Template/project_header/views.php b/app/Template/project_header/views.php index 4203595e..e6e7a99e 100644 --- a/app/Template/project_header/views.php +++ b/app/Template/project_header/views.php @@ -1,10 +1,19 @@ <ul class="views"> + + <?= $this->hook->render('template:project-header:view-switcher-before-project-overview', array('project' => $project, 'filters' => $filters)) ?> + <li <?= $this->app->checkMenuSelection('ProjectOverviewController') ?>> <?= $this->url->icon('eye', t('Overview'), 'ProjectOverviewController', 'show', array('project_id' => $project['id'], 'search' => $filters['search']), false, 'view-overview', t('Keyboard shortcut: "%s"', 'v o')) ?> </li> + + <?= $this->hook->render('template:project-header:view-switcher-before-board-view', array('project' => $project, 'filters' => $filters)) ?> + <li <?= $this->app->checkMenuSelection('BoardViewController') ?>> <?= $this->url->icon('th', t('Board'), 'BoardViewController', 'show', array('project_id' => $project['id'], 'search' => $filters['search']), false, 'view-board', t('Keyboard shortcut: "%s"', 'v b')) ?> </li> + + <?= $this->hook->render('template:project-header:view-switcher-before-task-list', array('project' => $project, 'filters' => $filters)) ?> + <li <?= $this->app->checkMenuSelection('TaskListController') ?>> <?= $this->url->icon('list', t('List'), 'TaskListController', 'show', array('project_id' => $project['id'], 'search' => $filters['search']), false, 'view-listing', t('Keyboard shortcut: "%s"', 'v l')) ?> </li> |