From 253d5a9331e4b4775066ec8cb9664da9a2aa6ac9 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 1 Apr 2017 15:43:36 -0400 Subject: Move calendar to external plugin --- app/Template/project_header/views.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'app/Template/project_header') diff --git a/app/Template/project_header/views.php b/app/Template/project_header/views.php index 2684c744..f200801a 100644 --- a/app/Template/project_header/views.php +++ b/app/Template/project_header/views.php @@ -5,9 +5,6 @@
  • app->checkMenuSelection('BoardViewController') ?>> url->icon('th', t('Board'), 'BoardViewController', 'show', array('project_id' => $project['id'], 'search' => $filters['search']), false, 'view-board', t('Keyboard shortcut: "%s"', 'v b')) ?>
  • -
  • app->checkMenuSelection('CalendarController') ?>> - url->icon('calendar', t('Calendar'), 'CalendarController', 'project', array('project_id' => $project['id'], 'search' => $filters['search']), false, 'view-calendar', t('Keyboard shortcut: "%s"', 'v c')) ?> -
  • app->checkMenuSelection('TaskListController') ?>> url->icon('list', t('List'), 'TaskListController', 'show', array('project_id' => $project['id'], 'search' => $filters['search']), false, 'view-listing', t('Keyboard shortcut: "%s"', 'v l')) ?>
  • @@ -16,4 +13,5 @@ url->icon('sliders', t('Gantt'), 'TaskGanttController', 'show', array('project_id' => $project['id'], 'search' => $filters['search']), false, 'view-gantt', t('Keyboard shortcut: "%s"', 'v g')) ?> + hook->render('template:project-header:view-switcher', array('project' => $project, 'filters' => $filters)) ?> -- cgit v1.2.3