blob: 7c2a9f45fabc1d58e617756c07830c82f4b313da (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
{% extends "WallabagCoreBundle::layout.html.twig" %}
{% 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}}
{% endfor %}
{% endif %}
{% endblock %}
|