summaryrefslogtreecommitdiff
path: root/app/Template/project_user
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/project_user')
-rw-r--r--app/Template/project_user/layout.php8
1 files changed, 7 insertions, 1 deletions
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 @@
</li>
<li>
<i class="fa fa-folder fa-fw"></i>
- <?= $this->url->link(t('All projects'), 'project', 'index') ?>
+ <?= $this->url->link(t('Projects list'), 'project', 'index') ?>
</li>
+ <?php if ($this->user->isProjectAdmin() || $this->user->isAdmin()): ?>
+ <li>
+ <i class="fa fa-sliders fa-fw"></i>
+ <?= $this->url->link(t('Projects Gantt chart'), 'gantt', 'projects') ?>
+ </li>
+ <?php endif ?>
</ul>
</div>
<section class="sidebar-container">