diff options
author | Thomas Citharel <tcit@tcit.fr> | 2017-07-09 18:45:39 +0200 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2017-07-09 18:45:39 +0200 |
commit | 1554eb0adac470151d9668d55ce1450c64f862d9 (patch) | |
tree | a373af783ba1d53329be9790a0f672f55cd961ec /src/Wallabag/CoreBundle/Resources/views/themes/common/Entry/_feed_link.html.twig | |
parent | f04611c711715064cd7a23d4dc51bc703a8dbeef (diff) | |
download | wallabag-1554eb0adac470151d9668d55ce1450c64f862d9.tar.gz wallabag-1554eb0adac470151d9668d55ce1450c64f862d9.tar.zst wallabag-1554eb0adac470151d9668d55ce1450c64f862d9.zip |
Rebase & Rename all rss to feeds
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/views/themes/common/Entry/_feed_link.html.twig')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/themes/common/Entry/_feed_link.html.twig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/common/Entry/_feed_link.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/common/Entry/_feed_link.html.twig new file mode 100644 index 00000000..bbe9c89d --- /dev/null +++ b/src/Wallabag/CoreBundle/Resources/views/themes/common/Entry/_feed_link.html.twig | |||
@@ -0,0 +1,6 @@ | |||
1 | {% if tag is defined %} | ||
2 | <a rel="alternate" type="application/atom+xml" href="{{ path('tag_feed', {'username': app.user.username, 'token': app.user.config.feedToken, 'slug': tag.slug}) }}" class="right"><i class="material-icons md-24">rss_feed</i></a> | ||
3 | {% elseif currentRoute in ['unread', 'starred', 'archive', 'all'] %} | ||
4 | <a rel="alternate" type="application/atom+xml" href="{{ path(currentRoute ~ '_rss', {'username': app.user.username, 'token': app.user.config.feedToken}) }}" class="right"><i class="material-icons">rss_feed</i></a> | ||
5 | {% endif %} | ||
6 | |||