]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
add rss icon
authorThomas Citharel <tcit@tcit.fr>
Tue, 13 Jun 2017 12:17:04 +0000 (14:17 +0200)
committerJeremy Benoist <jeremy.benoist@gmail.com>
Wed, 21 Jun 2017 09:44:36 +0000 (11:44 +0200)
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
src/Wallabag/CoreBundle/Resources/views/themes/material/Tag/tags.html.twig

index c83543acaaf4e38d7a72556be1cf28572b0810ac..98d7b0376a45441b56eb095f2669f33bb20f851f 100644 (file)
@@ -14,6 +14,9 @@
             {% for tag in tags %}
                 <li title="{{tag.label}} ({{ tag.nbEntries }})" id="tag-{{ tag.id }}" class="col l2 m2 s5">
                     <a href="{{ path('tag_entries', {'slug': tag.slug}) }}">{{tag.label}} ({{ tag.nbEntries }})</a>
+                    {% if app.user.config.rssToken %}
+                        <a href="{{ path('tag_rss', {'username': app.user.username, 'token': app.user.config.rssToken, 'slug': tag.slug}) }}" class="right"><i class="material-icons">rss_feed</i></a>
+                    {% endif %}
                 </li>
             {% endfor %}
         </ul>