summaryrefslogtreecommitdiff
path: root/app/Template/group/dropdown.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2017-03-11 17:30:09 -0500
committerFrederic Guillot <fred@kanboard.net>2017-03-11 17:30:09 -0500
commitd1edac845ce81f8ccf43a43803ab0a89574f285c (patch)
tree5732aff4223edcb34813b1afbcd09504dc9d26c0 /app/Template/group/dropdown.php
parenta22b8f3dc73555800caf55768f04a7a2ce4af7f2 (diff)
Change groups list layout
Diffstat (limited to 'app/Template/group/dropdown.php')
-rw-r--r--app/Template/group/dropdown.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/Template/group/dropdown.php b/app/Template/group/dropdown.php
new file mode 100644
index 00000000..9d807dc5
--- /dev/null
+++ b/app/Template/group/dropdown.php
@@ -0,0 +1,9 @@
+<div class="dropdown">
+ <a href="#" class="dropdown-menu dropdown-menu-link-icon"><strong>#<?= $group['id'] ?> <i class="fa fa-caret-down"></i></strong></a>
+ <ul>
+ <li><?= $this->modal->medium('plus', t('Add group member'), 'GroupListController', 'associate', array('group_id' => $group['id'])) ?></li>
+ <li><?= $this->url->icon('users', t('Members'), 'GroupListController', 'users', array('group_id' => $group['id'])) ?></li>
+ <li><?= $this->modal->medium('edit', t('Edit'), 'GroupModificationController', 'show', array('group_id' => $group['id'])) ?></li>
+ <li><?= $this->modal->confirm('trash-o', t('Remove'), 'GroupListController', 'confirm', array('group_id' => $group['id'])) ?></li>
+ </ul>
+</div>