aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2016-10-22 13:07:37 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2016-10-22 13:09:16 +0200
commit817724a7b8507877a81f3ff53639f7b49cb05851 (patch)
tree5a953d0ad4c57333bdfe3b0d47b0a6d597c49491 /src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig
parentab61dbc073fa97afa2b3b9f9d3faed66d5d05b7b (diff)
downloadwallabag-817724a7b8507877a81f3ff53639f7b49cb05851.tar.gz
wallabag-817724a7b8507877a81f3ff53639f7b49cb05851.tar.zst
wallabag-817724a7b8507877a81f3ff53639f7b49cb05851.zip
Re-add bottom pagination
Also pager.html.twig wasn’t necessary, there weren't enough duplication to put them in a dedicated template
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig')
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig14
1 files changed, 13 insertions, 1 deletions
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 d0786936..2c145b2a 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
@@ -5,7 +5,15 @@
5{% endblock %} 5{% endblock %}
6 6
7{% block content %} 7{% block content %}
8 {% include "WallabagCoreBundle:Entry:pager.html.twig" with {'entries': entries} %} 8 <div class="results clearfix">
9 <div class="nb-results left">
10 {{ 'entry.list.number_on_the_page'|transchoice(entries.count) }}
11 </div>
12 {% if entries.getNbPages > 1 %}
13 {{ pagerfanta(entries, 'twitter_bootstrap_translated', {'proximity': 1}) }}
14 {% endif %}
15 </div>
16
9 <br /> 17 <br />
10 <ul class="row data"> 18 <ul class="row data">
11 {% for entry in entries %} 19 {% for entry in entries %}
@@ -82,6 +90,10 @@
82 {% endfor %} 90 {% endfor %}
83 </ul> 91 </ul>
84 92
93 {% if entries.getNbPages > 1 %}
94 {{ pagerfanta(entries, 'twitter_bootstrap_translated', {'proximity': 1}) }}
95 {% endif %}
96
85 <!-- Export --> 97 <!-- Export -->
86 <div id="export" class="side-nav fixed right-aligned"> 98 <div id="export" class="side-nav fixed right-aligned">
87 {% set currentRoute = app.request.attributes.get('_route') %} 99 {% set currentRoute = app.request.attributes.get('_route') %}