]>
Commit | Line | Data |
---|---|---|
3f3fbef1 NL |
1 | {% extends "WallabagCoreBundle::layout.html.twig" %} |
2 | ||
3 | {% block title "Tags" %} | |
4 | ||
5 | {% block content %} | |
6 | {% block pager %} | |
7 | {% if tags is not empty %} | |
8 | <div class="results"> | |
9 | <div class="nb-results">{{ tags.count }} {% trans %}tags{% endtrans %}</div> | |
10 | <div class="pagination"> | |
11 | {% for p in range(1, tags.nbPages) %} | |
12 | <li> | |
13 | <a href="{{ path(app.request.attributes.get('_route'), {'page': p}) }}" class="{{ currentPage == p ? 'current':''}}" >{{ p }}</a> | |
14 | </li> | |
15 | {% endfor %} | |
16 | </div> | |
17 | </div> | |
18 | {% endif %} | |
19 | {% endblock %} | |
20 | ||
21 | {% if tags is empty %} | |
22 | <div class="messages warning"><p>{% trans %}No tags found.{% endtrans %}</p></div> | |
23 | {% else %} | |
24 | {% for tag in tags %}{{tag.title}} | |
25 | {% endfor %} | |
26 | {% endif %} | |
27 | {% endblock %} |