From f836b98fa644601697c107738726dcf8a92dfecd Mon Sep 17 00:00:00 2001 From: Simounet Date: Mon, 4 Dec 2017 19:34:46 +0100 Subject: Fix pagination on list mode --- .../Resources/views/themes/material/Entry/entries.html.twig | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/Wallabag') diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig index 9d6fb3f5..e883503e 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig @@ -21,8 +21,8 @@ {% block content %} {% set listMode = app.user.config.listMode %} {% set currentRoute = app.request.attributes.get('_route') %} -
-
+
+
{{ 'entry.list.number_on_the_page'|transchoice(entries.count) }} {% if listMode == 0 %}view_list{% else %}view_module{% endif %} {% if app.user.config.rssToken %} @@ -34,7 +34,6 @@ {% endif %}
-
    {% for entry in entries %}
  • @@ -52,7 +51,9 @@
{% if entries.getNbPages > 1 %} - {{ pagerfanta(entries, 'twitter_bootstrap_translated', {'proximity': 1}) }} +
+ {{ pagerfanta(entries, 'twitter_bootstrap_translated', {'proximity': 1}) }} +
{% endif %} -- cgit v1.2.3