summaryrefslogtreecommitdiff
path: root/app/Template/project/index.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-08-14 15:43:08 -0400
committerFrederic Guillot <fred@kanboard.net>2015-08-14 15:43:08 -0400
commitb2cce5a3a1a0be68102e614b42d2ee6a030bd523 (patch)
tree0014f4362cee39f98727276bc79aa96adc213fee /app/Template/project/index.php
parent80fb3bc9aa842ef75f1f8282db63ca43282aacd7 (diff)
Add new role Project Administrator
Diffstat (limited to 'app/Template/project/index.php')
-rw-r--r--app/Template/project/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Template/project/index.php b/app/Template/project/index.php
index 971ba2ae..679bdd00 100644
--- a/app/Template/project/index.php
+++ b/app/Template/project/index.php
@@ -1,7 +1,7 @@
<section id="main">
<div class="page-header">
<ul>
- <?php if ($this->user->isAdmin()): ?>
+ <?php if ($this->user->isProjectAdmin()): ?>
<li><i class="fa fa-plus fa-fw"></i><?= $this->url->link(t('New project'), 'project', 'create') ?></li>
<?php endif ?>
<li><i class="fa fa-lock fa-fw"></i><?= $this->url->link(t('New private project'), 'project', 'create', array('private' => 1)) ?></li>