diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-11-25 22:06:39 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-11-25 22:06:39 -0500 |
commit | e582d4047b061f0c17e6366fed2bf1cabd624c10 (patch) | |
tree | 4f400b1df198103fb257d468b1aab8c625f32d29 /app/Template/group/dissociate.php | |
parent | a8da794b60029c23424ee330e020d18f5f9ac947 (diff) |
Add groups (teams)
Diffstat (limited to 'app/Template/group/dissociate.php')
-rw-r--r-- | app/Template/group/dissociate.php | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/app/Template/group/dissociate.php b/app/Template/group/dissociate.php new file mode 100644 index 00000000..2b0b1af4 --- /dev/null +++ b/app/Template/group/dissociate.php @@ -0,0 +1,19 @@ +<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-user fa-fw"></i><?= $this->url->link(t('View group members'), 'group', 'users', array('group_id' => $group['id'])) ?></li> + </ul> + <?php endif ?> + </div> + <div class="confirm"> + <p class="alert alert-info"><?= t('Do you really want to remove the user "%s" from the group "%s"?', $user['name'] ?: $user['username'], $group['name']) ?></p> + + <div class="form-actions"> + <?= $this->url->link(t('Yes'), 'group', 'removeUser', array('group_id' => $group['id'], 'user_id' => $user['id']), true, 'btn btn-red') ?> + <?= t('or') ?> + <?= $this->url->link(t('cancel'), 'group', 'users', array('group_id' => $group['id'])) ?> + </div> + </div> +</section> |