diff options
author | Frederic Guillot <fred@kanboard.net> | 2017-02-26 12:17:39 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2017-02-26 12:17:39 -0500 |
commit | 159c31cd3f23f45c1cf51c71f1049714ea603eb3 (patch) | |
tree | 7f54c6bea694dba49d68a4faf4481ed95edf4563 /app/Template/user_list/header.php | |
parent | 954b7324f08e633087a1f6809a80c5892e39bcb0 (diff) |
Redesign users list layout
Diffstat (limited to 'app/Template/user_list/header.php')
-rw-r--r-- | app/Template/user_list/header.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/app/Template/user_list/header.php b/app/Template/user_list/header.php new file mode 100644 index 00000000..9ff3f596 --- /dev/null +++ b/app/Template/user_list/header.php @@ -0,0 +1,12 @@ +<div class="table-list-header"> + <div class="table-list-header-count"> + <?php if ($paginator->getTotal() > 1): ?> + <?= t('%d users', $paginator->getTotal()) ?> + <?php else: ?> + <?= t('%d user', $paginator->getTotal()) ?> + <?php endif ?> + </div> + <div class="table-list-header-menu"> + <?= $this->render('user_list/sort_menu', array('paginator' => $paginator)) ?> + </div> +</div>
\ No newline at end of file |