diff options
author | Frédéric Guillot <contact@fredericguillot.com> | 2014-02-16 18:19:15 -0500 |
---|---|---|
committer | Frédéric Guillot <contact@fredericguillot.com> | 2014-02-16 18:19:15 -0500 |
commit | e155edd1bdb3c98f240292642c6ee38bf2b1e2cf (patch) | |
tree | 450220da2dc5d13d87128f6ad3399de43f8d6df2 /templates/project_index.php | |
parent | 4fd4180d1c491672257c034bd8e4db79d69ebe2c (diff) |
Minor improvements
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)): ?> |