diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-05-04 10:18:08 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-05-04 10:18:08 +0200 |
commit | 8ae9a3f52f6359b2f9170a46298719020f38b928 (patch) | |
tree | 09a25c73c344a84f1918f8feefe514bddbd52608 /src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/pager.html.twig | |
parent | 9b57bac8b9ad95d1b4de051222b0f351991997f0 (diff) | |
parent | 09e5b9391e0a09db02b2aa4c8f649b59e3baeb16 (diff) | |
download | wallabag-8ae9a3f52f6359b2f9170a46298719020f38b928.tar.gz wallabag-8ae9a3f52f6359b2f9170a46298719020f38b928.tar.zst wallabag-8ae9a3f52f6359b2f9170a46298719020f38b928.zip |
Merge pull request #2022 from wallabag/fix-pagination-bar
Fix pagination bar on small devices
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 %} | ||