summaryrefslogtreecommitdiff
path: root/app/Template/project_list/header.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/project_list/header.php')
-rw-r--r--app/Template/project_list/header.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/app/Template/project_list/header.php b/app/Template/project_list/header.php
new file mode 100644
index 00000000..24ac9041
--- /dev/null
+++ b/app/Template/project_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 projects', $paginator->getTotal()) ?>
+ <?php else: ?>
+ <?= t('%d project', $paginator->getTotal()) ?>
+ <?php endif ?>
+ </div>
+ <div class="table-list-header-menu">
+ <?= $this->render('project_list/sort_menu', array('paginator' => $paginator)) ?>
+ </div>
+</div>