From f6a86e6a86dd6c1fbfadee41d57598b1a5f06109 Mon Sep 17 00:00:00 2001 From: Filip Vilic Date: Wed, 8 Aug 2018 11:48:37 +0200 Subject: [PATCH] PHRAS-2187 move selected people to top, fix page navigation --- templates/web/prod/actions/Feedback/ListsMacros.html.twig | 6 ++---- templates/web/prod/actions/Feedback/list.html.twig | 4 ++++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/templates/web/prod/actions/Feedback/ListsMacros.html.twig b/templates/web/prod/actions/Feedback/ListsMacros.html.twig index 62891e9ade..04bcb61259 100644 --- a/templates/web/prod/actions/Feedback/ListsMacros.html.twig +++ b/templates/web/prod/actions/Feedback/ListsMacros.html.twig @@ -86,14 +86,12 @@
- {% set length = list.getEntries().count() %} - {% trans with {'%length%' : length} %}%length% peoples{% endtrans %} {% if query.get_page() > 1 %} - + {% endif %} {{ query.get_page() }} / {{ query.get_total_page() }} {% if query.get_page() < query.get_total_page() %} - + {% endif %}
diff --git a/templates/web/prod/actions/Feedback/list.html.twig b/templates/web/prod/actions/Feedback/list.html.twig index 3a80cfb2e0..a449e228ef 100644 --- a/templates/web/prod/actions/Feedback/list.html.twig +++ b/templates/web/prod/actions/Feedback/list.html.twig @@ -96,6 +96,10 @@
+ {% set length = list.getEntries().count() %} + + {% trans with {'%length%' : length} %}%length% peoples{% endtrans %} +