From bee10297dea652f0c22207ae53836fc318067a60 Mon Sep 17 00:00:00 2001 From: Ludovic Pouzenc Date: Sun, 22 Jul 2018 11:46:29 +0200 Subject: Simplify paginator statistics on index view --- app-from-scratch.sh | 2 ++ fai_gestion/plugins/CustomTheme/src/Template/Bake/Template/index.twig | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app-from-scratch.sh b/app-from-scratch.sh index fba441e..a438292 100644 --- a/app-from-scratch.sh +++ b/app-from-scratch.sh @@ -375,3 +375,5 @@ git commit -m "bake: fix Search filter support (bad stringifyList())" editor plugins/CustomTheme/src/Template/Bake/Model/table.twig git add ../app-from-scratch.sh plugins/CustomTheme/src/Template/Bake/Model/table.twig git commit -m "bake: sort tables by default (with config) + allow ORDER BY hooks" +# 28e5cfbde499b7d08649596d0f675ad8bba0143a + diff --git a/fai_gestion/plugins/CustomTheme/src/Template/Bake/Template/index.twig b/fai_gestion/plugins/CustomTheme/src/Template/Bake/Template/index.twig index bf8d08a..f057d35 100644 --- a/fai_gestion/plugins/CustomTheme/src/Template/Bake/Template/index.twig +++ b/fai_gestion/plugins/CustomTheme/src/Template/Bake/Template/index.twig @@ -134,6 +134,6 @@ $this->Form->setTemplates(['label' => '']); Paginator->next(__('next') . ' >') ?> Paginator->last(__('last') . ' >>') ?> -

Paginator->counter(['format' => __('Page {{ '{{' }}page{{ '}}' }} of {{ '{{' }}pages{{ '}}' }}, showing {{ '{{' }}current{{ '}}' }} record(s) out of {{ '{{' }}count{{ '}}' }} total')]) ?>

+

Paginator->counter(['format' => __('Page: {{ '{{' }}page{{ '}}' }}/{{ '{{' }}pages{{ '}}' }}, Total: {{ '{{' }}count{{ '}}' }}')]) ?>

-- cgit v1.1