summaryrefslogtreecommitdiff
path: root/app/Template/project
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-08-22 16:20:53 -0400
committerFrederic Guillot <fred@kanboard.net>2015-08-22 16:20:53 -0400
commitfd60964c239627d2d55c6eca0888be84a8f6653f (patch)
tree062836c4a49857625a25b2cfdd3bbb93732f915d /app/Template/project
parent18fd39e6d648a58be0782d514604877504833832 (diff)
Add global Gantt chart for all projects
Diffstat (limited to 'app/Template/project')
-rw-r--r--app/Template/project/index.php3
-rw-r--r--app/Template/project/show.php8
2 files changed, 10 insertions, 1 deletions
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 @@
<?php endif ?>
<li><i class="fa fa-lock fa-fw"></i><?= $this->url->link(t('New private project'), 'project', 'create', array('private' => 1)) ?></li>
<?php if ($this->user->isProjectAdmin() || $this->user->isAdmin()): ?>
- <li><i class="fa fa-users fa-fw"></i><?= $this->url->link(t('Users overview'), 'projectuser', 'managers') ?></li>
+ <li><i class="fa fa-user fa-fw"></i><?= $this->url->link(t('Users overview'), 'projectuser', 'managers') ?></li>
+ <li><i class="fa fa-sliders fa-fw"></i><?= $this->url->link(t('Projects Gantt chart'), 'gantt', 'projects') ?></li>
<?php endif ?>
</ul>
</div>
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 @@
<li><?= dt('Last modified on %B %e, %Y at %k:%M %p', $project['last_modified']) ?></li>
<?php endif ?>
+ <?php if ($project['start_date']): ?>
+ <li><?= t('Start date: %s', $project['start_date']) ?></li>
+ <?php endif ?>
+
+ <?php if ($project['end_date']): ?>
+ <li><?= t('End date: %s', $project['end_date']) ?></li>
+ <?php endif ?>
+
<?php if ($stats['nb_tasks'] > 0): ?>
<?php if ($stats['nb_active_tasks'] > 0): ?>