diff options
Diffstat (limited to 'app/Template/project_gantt/show.php')
-rw-r--r-- | app/Template/project_gantt/show.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/app/Template/project_gantt/show.php b/app/Template/project_gantt/show.php index 74248d5d..725f348d 100644 --- a/app/Template/project_gantt/show.php +++ b/app/Template/project_gantt/show.php @@ -1,6 +1,16 @@ <section id="main"> <div class="page-header"> <ul> + <?php if ($this->user->hasAccess('ProjectCreationController', 'create')): ?> + <li> + <?= $this->modal->medium('plus', t('New project'), 'ProjectCreationController', 'create') ?> + </li> + <?php endif ?> + <?php if ($this->app->config('disable_private_project', 0) == 0): ?> + <li> + <?= $this->modal->medium('lock', t('New private project'), 'ProjectCreationController', 'createPrivate') ?> + </li> + <?php endif ?> <li> <?= $this->url->icon('folder', t('Projects list'), 'ProjectListController', 'show') ?> </li> |