diff options
author | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-12-03 01:42:21 -0800 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-12-03 01:42:21 -0800 |
commit | b8bb2b4ab647747806492b439698ccd834ac18da (patch) | |
tree | 78b133d6c397cf44d711f15a8f1785cd76c9d6ea /themes/default/config.twig | |
parent | 678f2cb6eef428e4a5aa522985d30704df3acc78 (diff) | |
parent | 72c20a52978f31b84ffc817894f9f85f4a8506ee (diff) | |
download | wallabag-b8bb2b4ab647747806492b439698ccd834ac18da.tar.gz wallabag-b8bb2b4ab647747806492b439698ccd834ac18da.tar.zst wallabag-b8bb2b4ab647747806492b439698ccd834ac18da.zip |
Merge pull request #350 from inthepoche/rss
add atom feeds for unread / favs
Diffstat (limited to 'themes/default/config.twig')
-rw-r--r-- | themes/default/config.twig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/themes/default/config.twig b/themes/default/config.twig index a27836b4..7cf3fe9c 100644 --- a/themes/default/config.twig +++ b/themes/default/config.twig | |||
@@ -28,6 +28,16 @@ | |||
28 | <li>{% trans "latest stable version" %} : {{ prod }}. {% if compare_prod == -1 %}<strong><a href="http://inthepoche.com/">{% trans "a more recent stable version is available." %}</a></strong>{% else %}{% trans "you are up to date." %}{% endif %}</li> | 28 | <li>{% trans "latest stable version" %} : {{ prod }}. {% if compare_prod == -1 %}<strong><a href="http://inthepoche.com/">{% trans "a more recent stable version is available." %}</a></strong>{% else %}{% trans "you are up to date." %}{% endif %}</li> |
29 | {% if constant('DEBUG_POCHE') == 1 %}<li>{% trans "latest dev version" %} : {{ dev }}. {% if compare_dev == -1 %}<strong><a href="http://inthepoche.com/">{% trans "a more recent development version is available." %}</a></strong>{% else %}{% trans "you are up to date." %}{% endif %}</li>{% endif %} | 29 | {% if constant('DEBUG_POCHE') == 1 %}<li>{% trans "latest dev version" %} : {{ dev }}. {% if compare_dev == -1 %}<strong><a href="http://inthepoche.com/">{% trans "a more recent development version is available." %}</a></strong>{% else %}{% trans "you are up to date." %}{% endif %}</li>{% endif %} |
30 | </ul> | 30 | </ul> |
31 | |||
32 | <h2>{% trans "Feeds" %}</h2> | ||
33 | {% if token == '' %} | ||
34 | <p>{% trans "The token is empty, you have to generate it to use feeds. Click <a href='?feed&action=generate'>here to generate it</a>." %}</p> | ||
35 | {% else %} | ||
36 | <ul> | ||
37 | <li><a href="?feed&type=home&user_id={{ user_id }}&token={{ token }}" target="_blank">{% trans "unread feed" %}</a></li> | ||
38 | <li><a href="?feed&type=fav&user_id={{ user_id }}&token={{ token }}" target="_blank">{% trans "favorites feed" %}</a></li> | ||
39 | </ul> | ||
40 | {% endif %} | ||
31 | 41 | ||
32 | <h2>{% trans "Change your theme" %}</h2> | 42 | <h2>{% trans "Change your theme" %}</h2> |
33 | <form method="post" action="?updatetheme" name="changethemeform"> | 43 | <form method="post" action="?updatetheme" name="changethemeform"> |