diff options
Diffstat (limited to 'app/Template/project_user/layout.php')
-rw-r--r-- | app/Template/project_user/layout.php | 8 |
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"> |