mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-27 03:21:01 +00:00
fix display
This commit is contained in:
parent
3f3fbef11f
commit
47e12c3677
1 changed files with 2 additions and 16 deletions
|
@ -3,25 +3,11 @@
|
|||
{% block title "Tags" %}
|
||||
|
||||
{% block content %}
|
||||
{% block pager %}
|
||||
{% if tags is not empty %}
|
||||
<div class="results">
|
||||
<div class="nb-results">{{ tags.count }} {% trans %}tags{% endtrans %}</div>
|
||||
<div class="pagination">
|
||||
{% for p in range(1, tags.nbPages) %}
|
||||
<li>
|
||||
<a href="{{ path(app.request.attributes.get('_route'), {'page': p}) }}" class="{{ currentPage == p ? 'current':''}}" >{{ p }}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% if tags is empty %}
|
||||
<div class="messages warning"><p>{% trans %}No tags found.{% endtrans %}</p></div>
|
||||
{% else %}
|
||||
{% for tag in tags %}{{tag.title}}
|
||||
{% for tag in tags %}
|
||||
{{tag.label}}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
|
Loading…
Reference in a new issue