diff options
Diffstat (limited to 'app/Template/group/index.php')
-rw-r--r-- | app/Template/group/index.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/app/Template/group/index.php b/app/Template/group/index.php index 4aea0873..d111b5d9 100644 --- a/app/Template/group/index.php +++ b/app/Template/group/index.php @@ -8,12 +8,12 @@ <?php if ($paginator->isEmpty()): ?> <p class="alert"><?= t('There is no group.') ?></p> <?php else: ?> - <table class="table-small"> + <table class="table-small table-fixed"> <tr> <th class="column-5"><?= $paginator->order(t('Id'), 'id') ?></th> <th class="column-20"><?= $paginator->order(t('External Id'), 'external_id') ?></th> <th><?= $paginator->order(t('Name'), 'name') ?></th> - <th class="column-20"><?= t('Actions') ?></th> + <th class="column-5"><?= t('Actions') ?></th> </tr> <?php foreach ($paginator->getCollection() as $group): ?> <tr> @@ -27,12 +27,15 @@ <?= $this->e($group['name']) ?> </td> <td> + <div class="dropdown"> + <a href="#" class="dropdown-menu dropdown-menu-link-icon"><i class="fa fa-cog fa-fw"></i><i class="fa fa-caret-down"></i></a> <ul> <li><?= $this->url->link(t('Add group member'), 'group', 'associate', array('group_id' => $group['id'])) ?></li> <li><?= $this->url->link(t('Members'), 'group', 'users', array('group_id' => $group['id'])) ?></li> <li><?= $this->url->link(t('Edit'), 'group', 'edit', array('group_id' => $group['id'])) ?></li> <li><?= $this->url->link(t('Remove'), 'group', 'confirm', array('group_id' => $group['id'])) ?></li> </ul> + </div> </td> </tr> <?php endforeach ?> |