diff options
Diffstat (limited to 'app/Template/task_list/header.php')
-rw-r--r-- | app/Template/task_list/header.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/app/Template/task_list/header.php b/app/Template/task_list/header.php new file mode 100644 index 00000000..c0f9df96 --- /dev/null +++ b/app/Template/task_list/header.php @@ -0,0 +1,12 @@ +<div class="task-list-header"> + <div class="task-list-header-count"> + <?php if ($paginator->getTotal() > 1): ?> + <?= t('%d tasks', $paginator->getTotal()) ?> + <?php else: ?> + <?= t('%d task', $paginator->getTotal()) ?> + <?php endif ?> + </div> + <div class="task-list-header-menu"> + <?= $this->render('task_list/sort_menu', array('paginator' => $paginator)) ?> + </div> +</div>
\ No newline at end of file |