diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-08-07 20:07:39 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-08-07 20:07:39 +0200 |
commit | 47e12c36776b21184267521ecbfd90f714ca9b2c (patch) | |
tree | 6ea7a1136d9092befe5a78d6684d3c261103c194 /src | |
parent | 3f3fbef11f86968a991426c2a052ad42e0c16d44 (diff) | |
download | wallabag-47e12c36776b21184267521ecbfd90f714ca9b2c.tar.gz wallabag-47e12c36776b21184267521ecbfd90f714ca9b2c.tar.zst wallabag-47e12c36776b21184267521ecbfd90f714ca9b2c.zip |
fix display
Diffstat (limited to 'src')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/Tag/tags.html.twig | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/Tag/tags.html.twig b/src/Wallabag/CoreBundle/Resources/views/Tag/tags.html.twig index 7c2a9f45..c2a461b8 100644 --- a/src/Wallabag/CoreBundle/Resources/views/Tag/tags.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/Tag/tags.html.twig | |||
@@ -3,25 +3,11 @@ | |||
3 | {% block title "Tags" %} | 3 | {% block title "Tags" %} |
4 | 4 | ||
5 | {% block content %} | 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 %} | 6 | {% if tags is empty %} |
22 | <div class="messages warning"><p>{% trans %}No tags found.{% endtrans %}</p></div> | 7 | <div class="messages warning"><p>{% trans %}No tags found.{% endtrans %}</p></div> |
23 | {% else %} | 8 | {% else %} |
24 | {% for tag in tags %}{{tag.title}} | 9 | {% for tag in tags %} |
10 | {{tag.label}} | ||
25 | {% endfor %} | 11 | {% endfor %} |
26 | {% endif %} | 12 | {% endif %} |
27 | {% endblock %} | 13 | {% endblock %} |