aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2016-08-23 07:36:43 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2016-08-23 07:36:43 +0200
commit97e7ad4dc7bfc26cea334bc880a39e388d6848f3 (patch)
treecd6200f084675195aaa5789a3d0e1297eca1a94a
parenta0e1eafc35e1007056555651ace7221d09cd8270 (diff)
downloadwallabag-97e7ad4dc7bfc26cea334bc880a39e388d6848f3.tar.gz
wallabag-97e7ad4dc7bfc26cea334bc880a39e388d6848f3.tar.zst
wallabag-97e7ad4dc7bfc26cea334bc880a39e388d6848f3.zip
Remove duplicate pager on baggy
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig
index a07285bd..9380e67a 100644
--- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig
@@ -19,18 +19,6 @@
19{% block content %} 19{% block content %}
20 {% include "WallabagCoreBundle:Entry:pager.html.twig" with {'entries': entries} %} 20 {% include "WallabagCoreBundle:Entry:pager.html.twig" with {'entries': entries} %}
21 21
22 {% block pager %}
23 <div class="results">
24 <div class="nb-results">{{ 'entry.list.number_on_the_page'|transchoice(entries.count) }}</div>
25 <div class="pagination">
26 {% if form is not null %}<a href="#" id="filter">{{ 'entry.filters.title'|trans }}</a>{% endif %}
27 {% if entries.getNbPages > 1 %}
28 {{ pagerfanta(entries, 'twitter_bootstrap_translated', {'proximity': 1}) }}
29 {% endif %}
30 </div>
31 </div>
32 {% endblock %}
33
34 {% for entry in entries %} 22 {% for entry in entries %}
35 <div id="entry-{{ entry.id|e }}" class="entry"> 23 <div id="entry-{{ entry.id|e }}" class="entry">
36 <h2><a href="{{ path('view', { 'id': entry.id }) }}" title="{{ entry.title|raw }}">{{ entry.title|raw }}</a></h2> 24 <h2><a href="{{ path('view', { 'id': entry.id }) }}" title="{{ entry.title|raw }}">{{ entry.title|raw }}</a></h2>
@@ -173,6 +161,4 @@
173 </form> 161 </form>
174 </aside> 162 </aside>
175 {% endif %} 163 {% endif %}
176
177 {% include "WallabagCoreBundle:Entry:pager.html.twig" with {'entries': entries} %}
178{% endblock %} 164{% endblock %}