summaryrefslogtreecommitdiff
path: root/app/Template/group/user_dropdown.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/group/user_dropdown.php')
-rw-r--r--app/Template/group/user_dropdown.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/Template/group/user_dropdown.php b/app/Template/group/user_dropdown.php
new file mode 100644
index 00000000..48acb955
--- /dev/null
+++ b/app/Template/group/user_dropdown.php
@@ -0,0 +1,11 @@
+<div class="dropdown">
+ <a href="#" class="dropdown-menu dropdown-menu-link-icon"><strong>#<?= $user['id'] ?> <i class="fa fa-caret-down"></i></strong></a>
+ <ul>
+ <li>
+ <?= $this->url->icon('user', t('View profile'), 'UserViewController', 'show', array('user_id' => $user['id'])) ?>
+ </li>
+ <li>
+ <?= $this->modal->medium('trash', t('Remove user from group'), 'GroupListController', 'dissociate', array('group_id' => $user['group_id'], 'user_id' => $user['id'])) ?>
+ </li>
+ </ul>
+</div>