diff options
Diffstat (limited to 'templates/project_index.php')
-rw-r--r-- | templates/project_index.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/project_index.php b/templates/project_index.php index 8bb09a62..0fc2468c 100644 --- a/templates/project_index.php +++ b/templates/project_index.php @@ -1,9 +1,11 @@ <section id="main"> <div class="page-header"> <h2><?= t('Projects') ?><span id="page-counter"> (<?= $nb_projects ?>)</span></h2> + <?php if ($_SESSION['user']['is_admin'] == 1): ?> <ul> <li><a href="?controller=project&action=create"><?= t('New project') ?></a></li> </ul> + <?php endif ?> </div> <section> <?php if (empty($projects)): ?> |