mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-27 11:31:05 +00:00
remove pagination if page == 1 with baggy theme
This commit is contained in:
parent
2ac2e0bc2b
commit
bdf39ff10d
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@
|
||||||
<div class="results">
|
<div class="results">
|
||||||
<div class="nb-results">{{ entries.count }} {% trans %}entries{% endtrans %}</div>
|
<div class="nb-results">{{ entries.count }} {% trans %}entries{% endtrans %}</div>
|
||||||
<div class="pagination">
|
<div class="pagination">
|
||||||
{% for p in range(1, entries.nbPages) %}
|
{% for p in range(1, entries.nbPages) if entries.nbPages > 1 %}
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ path(app.request.attributes.get('_route'), {'page': p}) }}" class="{{ currentPage == p ? 'current':''}}" >{{ p }}</a>
|
<a href="{{ path(app.request.attributes.get('_route'), {'page': p}) }}" class="{{ currentPage == p ? 'current':''}}" >{{ p }}</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
Loading…
Reference in a new issue