From 58550e99c18510c1c4cdde1a84bf8eecf3e0f2d1 Mon Sep 17 00:00:00 2001 From: Vincent Langlet Date: Fri, 29 Jan 2021 17:00:26 +0100 Subject: [PATCH] Do not add '-' when there is nothing on the right side --- src/Resources/views/CRUD/base_list.html.twig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Resources/views/CRUD/base_list.html.twig b/src/Resources/views/CRUD/base_list.html.twig index ef89ff5cd4..be760d2c52 100644 --- a/src/Resources/views/CRUD/base_list.html.twig +++ b/src/Resources/views/CRUD/base_list.html.twig @@ -223,7 +223,9 @@ file that was distributed with this source code. -  -  + {% if block('pager_results') is not empty %} +  -  + {% endif %} {% endif %} {% block pager_results %}