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/entries.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/entries.html.twig')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig | 12 |
1 files changed, 2 insertions, 10 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 1abbceed..cc4038c5 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 | |||
@@ -16,16 +16,7 @@ | |||
16 | {% endblock %} | 16 | {% endblock %} |
17 | 17 | ||
18 | {% block content %} | 18 | {% block content %} |
19 | {% block pager %} | 19 | {% include "WallabagCoreBundle:Entry:pager.html.twig" with {'entries': entries} %} |
20 | <div class="results clearfix"> | ||
21 | <div class="nb-results left"> | ||
22 | {{ 'entry.list.number_on_the_page'|transchoice(entries.count) }} | ||
23 | </div> | ||
24 | {% if entries.getNbPages > 1 %} | ||
25 | {{ pagerfanta(entries, 'twitter_bootstrap_translated', {'proximity': 1}) }} | ||
26 | {% endif %} | ||
27 | </div> | ||
28 | {% endblock %} | ||
29 | <br /> | 20 | <br /> |
30 | <ul class="row data"> | 21 | <ul class="row data"> |
31 | {% for entry in entries %} | 22 | {% for entry in entries %} |
@@ -193,4 +184,5 @@ | |||
193 | 184 | ||
194 | </form> | 185 | </form> |
195 | </div> | 186 | </div> |
187 | {% include "WallabagCoreBundle:Entry:pager.html.twig" with {'entries': entries} %} | ||
196 | {% endblock %} | 188 | {% endblock %} |