summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Pouzenc <ludovic@pouzenc.fr>2018-07-22 11:46:29 +0200
committerLudovic Pouzenc <ludovic@pouzenc.fr>2018-07-22 11:46:29 +0200
commitbee10297dea652f0c22207ae53836fc318067a60 (patch)
treecbc1e9f07ff5d09868c4dcefad1c32e7f1c7e6c1
parent91193b88447647de4edb95625ea9c4a8c7c6bcae (diff)
downloadchd_gestion-bee10297dea652f0c22207ae53836fc318067a60.zip
chd_gestion-bee10297dea652f0c22207ae53836fc318067a60.tar.gz
chd_gestion-bee10297dea652f0c22207ae53836fc318067a60.tar.bz2
Simplify paginator statistics on index view
-rw-r--r--app-from-scratch.sh2
-rw-r--r--fai_gestion/plugins/CustomTheme/src/Template/Bake/Template/index.twig2
2 files changed, 3 insertions, 1 deletions
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' => '']);
<?= $this->Paginator->next(__('next') . ' >') ?>
<?= $this->Paginator->last(__('last') . ' >>') ?>
</ul>
- <p><?= $this->Paginator->counter(['format' => __('Page {{ '{{' }}page{{ '}}' }} of {{ '{{' }}pages{{ '}}' }}, showing {{ '{{' }}current{{ '}}' }} record(s) out of {{ '{{' }}count{{ '}}' }} total')]) ?></p>
+ <p><?= $this->Paginator->counter(['format' => __('Page: {{ '{{' }}page{{ '}}' }}/{{ '{{' }}pages{{ '}}' }}, Total: {{ '{{' }}count{{ '}}' }}')]) ?></p>
</div>
</div>