summaryrefslogtreecommitdiff
path: root/app/Template/task_list/header.php
blob: c0f9df9616d10745a2edce3c713e3c76b79a9007 (plain)
1
2
3
4
5
6
7
8
9
10
11
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>