summaryrefslogtreecommitdiff
path: root/app/Template/group/users.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-12-05 20:31:27 -0500
committerFrederic Guillot <fred@kanboard.net>2015-12-05 20:31:27 -0500
commite9fedf3e5cd63aea4da7a71f6647ee427c62fa49 (patch)
treeabc2de5aebace4a2d7c94805552264dab6b10bc7 /app/Template/group/users.php
parent346b8312e5ac877ce3192c2db3a26b500018bbb5 (diff)
Rewrite of the authentication and authorization system
Diffstat (limited to 'app/Template/group/users.php')
-rw-r--r--app/Template/group/users.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/Template/group/users.php b/app/Template/group/users.php
index 56ad82cf..f79cb9ad 100644
--- a/app/Template/group/users.php
+++ b/app/Template/group/users.php
@@ -1,11 +1,9 @@
<section id="main">
<div class="page-header">
- <?php if ($this->user->isAdmin()): ?>
<ul>
<li><i class="fa fa-users fa-fw"></i><?= $this->url->link(t('View all groups'), 'group', 'index') ?></li>
<li><i class="fa fa-plus fa-fw"></i><?= $this->url->link(t('Add group member'), 'group', 'associate', array('group_id' => $group['id'])) ?></li>
</ul>
- <?php endif ?>
</div>
<?php if ($paginator->isEmpty()): ?>
<p class="alert"><?= t('There is no user in this group.') ?></p>