diff options
Diffstat (limited to 'app/Template/group/remove.php')
-rw-r--r-- | app/Template/group/remove.php | 25 |
1 files changed, 10 insertions, 15 deletions
diff --git a/app/Template/group/remove.php b/app/Template/group/remove.php index 1cb007b1..408b3d83 100644 --- a/app/Template/group/remove.php +++ b/app/Template/group/remove.php @@ -1,17 +1,12 @@ -<section id="main"> - <div class="page-header"> - <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> - </div> - <div class="confirm"> - <p class="alert alert-info"><?= t('Do you really want to remove this group: "%s"?', $group['name']) ?></p> +<div class="page-header"> + <h2><?= t('Remove group') ?></h2> +</div> +<div class="confirm"> + <p class="alert alert-info"><?= t('Do you really want to remove this group: "%s"?', $group['name']) ?></p> - <div class="form-actions"> - <?= $this->url->link(t('Yes'), 'group', 'remove', array('group_id' => $group['id']), true, 'btn btn-red') ?> - <?= t('or') ?> - <?= $this->url->link(t('cancel'), 'group', 'index') ?> - </div> + <div class="form-actions"> + <?= $this->url->link(t('Yes'), 'GroupListController', 'remove', array('group_id' => $group['id']), true, 'btn btn-red') ?> + <?= t('or') ?> + <?= $this->url->link(t('cancel'), 'GroupListController', 'index', array(), false, 'close-popover') ?> </div> -</section> +</div> |