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/gantt/projects.php | |
parent | 8d12e2fe736a72d6ad69807ac853a7e325c8cbf3 (diff) |
Split Gantt controller
Diffstat (limited to 'app/Template/gantt/projects.php')
-rw-r--r-- | app/Template/gantt/projects.php | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/app/Template/gantt/projects.php b/app/Template/gantt/projects.php deleted file mode 100644 index 9241e372..00000000 --- a/app/Template/gantt/projects.php +++ /dev/null @@ -1,30 +0,0 @@ -<section id="main"> - <div class="page-header"> - <ul> - <li> - <i class="fa fa-folder fa-fw"></i><?= $this->url->link(t('Projects list'), 'ProjectListController', 'show') ?> - </li> - <?php if ($this->user->hasAccess('ProjectUserOverviewController', 'managers')): ?> - <li><i class="fa fa-user fa-fw"></i><?= $this->url->link(t('Users overview'), 'ProjectUserOverviewController', 'managers') ?></li> - <?php endif ?> - </ul> - </div> - <section> - <?php if (empty($projects)): ?> - <p class="alert"><?= t('No project') ?></p> - <?php else: ?> - <div - id="gantt-chart" - data-records='<?= json_encode($projects, JSON_HEX_APOS) ?>' - data-save-url="<?= $this->url->href('gantt', 'saveProjectDate') ?>" - data-label-project-manager="<?= t('Project managers') ?>" - data-label-project-member="<?= t('Project members') ?>" - data-label-gantt-link="<?= t('Gantt chart for this project') ?>" - data-label-board-link="<?= t('Project board') ?>" - data-label-start-date="<?= t('Start date:') ?>" - data-label-end-date="<?= t('End date:') ?>" - data-label-not-defined="<?= t('There is no start date or end date for this project.') ?>" - ></div> - <?php endif ?> - </section> -</section> |