diff options
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"> |