diff options
author | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-12-03 10:40:27 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-12-03 10:40:27 +0100 |
commit | 72c20a52978f31b84ffc817894f9f85f4a8506ee (patch) | |
tree | 78b133d6c397cf44d711f15a8f1785cd76c9d6ea /themes/default | |
parent | 5846b0f1b32f7f9b99a3c20acfeeaee9781eebea (diff) | |
download | wallabag-72c20a52978f31b84ffc817894f9f85f4a8506ee.tar.gz wallabag-72c20a52978f31b84ffc817894f9f85f4a8506ee.tar.zst wallabag-72c20a52978f31b84ffc817894f9f85f4a8506ee.zip |
[add] atom feeds for unread / fav items
Diffstat (limited to 'themes/default')
-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"> |