Minor improvements

This commit is contained in:
Frédéric Guillot
2014-02-16 18:19:15 -05:00
parent 4fd4180d1c
commit e155edd1bd
4 changed files with 24 additions and 20 deletions

View File

@@ -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&amp;action=create"><?= t('New project') ?></a></li>
</ul>
<?php endif ?>
</div>
<section>
<?php if (empty($projects)): ?>