From 7c1c14cf64b59f211b9d505112797cb855e5b604 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 18 Jan 2015 17:59:41 -0500 Subject: Pagination refactoring --- app/Template/user/index.php | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'app/Template/user') diff --git a/app/Template/user/index.php b/app/Template/user/index.php index e4729501..41e205ba 100644 --- a/app/Template/user/index.php +++ b/app/Template/user/index.php @@ -7,22 +7,22 @@
- + isEmpty()): ?>

- - - - - - - + + + + + + + - + - + getCollection() as $user): ?>
order(t('Id'), 'id', $pagination) ?>order(t('Username'), 'username', $pagination) ?>order(t('Name'), 'name', $pagination) ?>order(t('Email'), 'email', $pagination) ?>order(t('Administrator'), 'is_admin', $pagination) ?>order(t('Default project'), 'default_project_id', $pagination) ?>order(t('Notifications'), 'notifications_enabled', $pagination) ?>order(t('Id'), 'id') ?>order(t('Username'), 'username') ?>order(t('Name'), 'name') ?>order(t('Email'), 'email') ?>order(t('Administrator'), 'is_admin') ?>order(t('Default project'), 'default_project_id') ?>order(t('Notifications'), 'notifications_enabled') ?> order(t('Account type'), 'is_ldap_user', $pagination) ?>order(t('Account type'), 'is_ldap_user') ?>
a('#'.$user['id'], 'user', 'show', array('user_id' => $user['id'])) ?> @@ -66,7 +66,7 @@
- paginate($pagination) ?> +
-- cgit v1.2.3