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/baggy/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/baggy/Entry/pager.html.twig')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/pager.html.twig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/pager.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/pager.html.twig new file mode 100644 index 00000000..ac74676a --- /dev/null +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/pager.html.twig | |||
@@ -0,0 +1,11 @@ | |||
1 | {% block pager %} | ||
2 | <div class="results"> | ||
3 | <div class="nb-results">{{ 'entry.list.number_on_the_page'|transchoice(entries.count) }}</div> | ||
4 | <div class="pagination"> | ||
5 | <a href="#" id="filter">{{ 'entry.filters.title'|trans }}</a> | ||
6 | {% if entries.getNbPages > 1 %} | ||
7 | {{ pagerfanta(entries, 'twitter_bootstrap_translated', {'proximity': 1}) }} | ||
8 | {% endif %} | ||
9 | </div> | ||
10 | </div> | ||
11 | {% endblock %} | ||