]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Remove duplicate pager on baggy 2218/head
authorJeremy Benoist <jeremy.benoist@gmail.com>
Tue, 23 Aug 2016 05:36:43 +0000 (07:36 +0200)
committerJeremy Benoist <jeremy.benoist@gmail.com>
Tue, 23 Aug 2016 05:36:43 +0000 (07:36 +0200)
src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig

index a07285bdc213b8ada227a1354b263a6a3ba6f927..9380e67afbf38ba548a6014bb00946be39898107 100644 (file)
 {% block content %}
     {% include "WallabagCoreBundle:Entry:pager.html.twig" with {'entries': entries} %}
 
-    {% block pager %}
-        <div class="results">
-            <div class="nb-results">{{ 'entry.list.number_on_the_page'|transchoice(entries.count) }}</div>
-            <div class="pagination">
-                {% if form is not null %}<a href="#" id="filter">{{ 'entry.filters.title'|trans }}</a>{% endif %}
-                {% if entries.getNbPages > 1 %}
-                    {{ pagerfanta(entries, 'twitter_bootstrap_translated', {'proximity': 1}) }}
-                {% endif %}
-            </div>
-        </div>
-    {% endblock %}
-
     {% for entry in entries %}
         <div id="entry-{{ entry.id|e }}" class="entry">
             <h2><a href="{{ path('view', { 'id': entry.id }) }}" title="{{ entry.title|raw }}">{{ entry.title|raw }}</a></h2>
         </form>
     </aside>
     {% endif %}
-
-    {% include "WallabagCoreBundle:Entry:pager.html.twig" with {'entries': entries} %}
 {% endblock %}