summaryrefslogtreecommitdiff
path: root/app/Template/project
diff options
context:
space:
mode:
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): ?>