diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-05-03 21:44:57 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-05-03 21:44:57 +0200 |
commit | 09e5b9391e0a09db02b2aa4c8f649b59e3baeb16 (patch) | |
tree | 09a25c73c344a84f1918f8feefe514bddbd52608 /src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/pager.html.twig | |
parent | e7cd089fa66489702d00aae11a3e765c038c95a3 (diff) | |
download | wallabag-09e5b9391e0a09db02b2aa4c8f649b59e3baeb16.tar.gz wallabag-09e5b9391e0a09db02b2aa4c8f649b59e3baeb16.tar.zst wallabag-09e5b9391e0a09db02b2aa4c8f649b59e3baeb16.zip |
Add pagination bar at the bottom of the page
Fix #2021
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/pager.html.twig')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/pager.html.twig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/pager.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/pager.html.twig new file mode 100644 index 00000000..6f8e60fc --- /dev/null +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/pager.html.twig | |||
@@ -0,0 +1,10 @@ | |||
1 | {% block pager %} | ||
2 | <div class="results clearfix"> | ||
3 | <div class="nb-results left"> | ||
4 | {{ 'entry.list.number_on_the_page'|transchoice(entries.count) }} | ||
5 | </div> | ||
6 | {% if entries.getNbPages > 1 %} | ||
7 | {{ pagerfanta(entries, 'twitter_bootstrap_translated', {'proximity': 1}) }} | ||
8 | {% endif %} | ||
9 | </div> | ||
10 | {% endblock %} | ||