aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Resources/views/themes
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2016-04-14 15:03:22 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2016-08-23 07:24:42 +0200
commit891456ba9a592a200d8b23029e8f4514d9803080 (patch)
tree99b91dd57ab3db4a4a621cfd7c84ec7fab1d30ae /src/Wallabag/CoreBundle/Resources/views/themes
parent79efca1e6ff28362d4bd2713f68205294cdd07de (diff)
downloadwallabag-891456ba9a592a200d8b23029e8f4514d9803080.tar.gz
wallabag-891456ba9a592a200d8b23029e8f4514d9803080.tar.zst
wallabag-891456ba9a592a200d8b23029e8f4514d9803080.zip
Links on each tag in Tags view
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/views/themes')
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig4
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/material/Tag/tags.html.twig2
2 files changed, 4 insertions, 2 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig
index eca8924e..a0a0b02f 100644
--- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig
@@ -122,6 +122,7 @@
122 </div> 122 </div>
123 123
124 <!-- Filters --> 124 <!-- Filters -->
125 {% if form is not null %}
125 <div id="filters" class="side-nav fixed right-aligned"> 126 <div id="filters" class="side-nav fixed right-aligned">
126 <form action="{{ path('all') }}"> 127 <form action="{{ path('all') }}">
127 128
@@ -205,5 +206,6 @@
205 206
206 </form> 207 </form>
207 </div> 208 </div>
208 {% include "WallabagCoreBundle:Entry:pager.html.twig" with {'entries': entries} %} 209 {% endif %}
210
209{% endblock %} 211{% endblock %}
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Tag/tags.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Tag/tags.html.twig
index d958c4b8..9495f543 100644
--- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Tag/tags.html.twig
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Tag/tags.html.twig
@@ -9,7 +9,7 @@
9 <br /> 9 <br />
10 <ul class="row data"> 10 <ul class="row data">
11 {% for tag in tags %} 11 {% for tag in tags %}
12 <li id="tag-{{ tag.id|e }}" class="col l4 m6 s12">{{tag.label}} ({{ tag.getEntriesByUserId(app.user.id) | length }})</li> 12 <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>
13 {% endfor %} 13 {% endfor %}
14 </ul> 14 </ul>
15{% endblock %} 15{% endblock %}