forked from wallabag/wallabag
Links on each tag in Tags view
This commit is contained in:
committed by
Jeremy Benoist
parent
79efca1e6f
commit
891456ba9a
@ -122,6 +122,7 @@
|
||||
</div>
|
||||
|
||||
<!-- Filters -->
|
||||
{% if form is not null %}
|
||||
<div id="filters" class="side-nav fixed right-aligned">
|
||||
<form action="{{ path('all') }}">
|
||||
|
||||
@ -205,5 +206,6 @@
|
||||
|
||||
</form>
|
||||
</div>
|
||||
{% include "WallabagCoreBundle:Entry:pager.html.twig" with {'entries': entries} %}
|
||||
{% endif %}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
<br />
|
||||
<ul class="row data">
|
||||
{% for tag in tags %}
|
||||
<li id="tag-{{ tag.id|e }}" class="col l4 m6 s12">{{tag.label}} ({{ tag.getEntriesByUserId(app.user.id) | length }})</li>
|
||||
<li id="tag-{{ tag.id|e }}" class="col l4 m6 s12"><a href="{{ path('tag_entries', {'slug': tag.slug}) }}">{{tag.label}} ({{ tag.entries.getValues | length }})</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user