From fd60964c239627d2d55c6eca0888be84a8f6653f Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 22 Aug 2015 16:20:53 -0400 Subject: Add global Gantt chart for all projects --- app/Template/gantt/project.php | 4 ++-- app/Template/gantt/projects.php | 36 ++++++++++++++++++++++++++++++++++++ app/Template/project/index.php | 3 ++- app/Template/project/show.php | 8 ++++++++ app/Template/project_user/layout.php | 8 +++++++- 5 files changed, 55 insertions(+), 4 deletions(-) create mode 100644 app/Template/gantt/projects.php (limited to 'app/Template') diff --git a/app/Template/gantt/project.php b/app/Template/gantt/project.php index ec45f7f6..7ad859c7 100644 --- a/app/Template/gantt/project.php +++ b/app/Template/gantt/project.php @@ -35,8 +35,8 @@
+ +
+ +

+ +
+ +
+ diff --git a/app/Template/project/index.php b/app/Template/project/index.php index f24a8c4a..5ca6e6b5 100644 --- a/app/Template/project/index.php +++ b/app/Template/project/index.php @@ -6,7 +6,8 @@
  • url->link(t('New private project'), 'project', 'create', array('private' => 1)) ?>
  • user->isProjectAdmin() || $this->user->isAdmin()): ?> -
  • url->link(t('Users overview'), 'projectuser', 'managers') ?>
  • +
  • url->link(t('Users overview'), 'projectuser', 'managers') ?>
  • +
  • url->link(t('Projects Gantt chart'), 'gantt', 'projects') ?>
  • diff --git a/app/Template/project/show.php b/app/Template/project/show.php index d8d6de8d..5a65a26e 100644 --- a/app/Template/project/show.php +++ b/app/Template/project/show.php @@ -20,6 +20,14 @@
  • + +
  • + + + +
  • + + 0): ?> 0): ?> diff --git a/app/Template/project_user/layout.php b/app/Template/project_user/layout.php index a68fc579..4cf732d6 100644 --- a/app/Template/project_user/layout.php +++ b/app/Template/project_user/layout.php @@ -10,8 +10,14 @@
  • - url->link(t('All projects'), 'project', 'index') ?> + url->link(t('Projects list'), 'project', 'index') ?>
  • + user->isProjectAdmin() || $this->user->isAdmin()): ?> +
  • + + url->link(t('Projects Gantt chart'), 'gantt', 'projects') ?> +
  • +