diff options
author | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-08-09 13:05:35 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-08-09 13:05:35 +0200 |
commit | 56ab22d02c2a6dd6be1b4ac9f7a07c50b252600e (patch) | |
tree | 4c5849c31c0e8db3a221f3c20e4ce5d21228b7c8 | |
parent | 6c15854448d0977d54d9e8698b6ee7e4af8ec476 (diff) | |
download | wallabag-56ab22d02c2a6dd6be1b4ac9f7a07c50b252600e.tar.gz wallabag-56ab22d02c2a6dd6be1b4ac9f7a07c50b252600e.tar.zst wallabag-56ab22d02c2a6dd6be1b4ac9f7a07c50b252600e.zip |
only display latest dev version if DEBUG is on
-rw-r--r-- | tpl/config.twig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tpl/config.twig b/tpl/config.twig index 95d5d8cf..5324cda7 100644 --- a/tpl/config.twig +++ b/tpl/config.twig | |||
@@ -20,7 +20,7 @@ | |||
20 | <p><ul> | 20 | <p><ul> |
21 | <li>{% trans "your version" %} : <strong>{{ constant('POCHE_VERSION') }}</strong></li> | 21 | <li>{% trans "your version" %} : <strong>{{ constant('POCHE_VERSION') }}</strong></li> |
22 | <li>{% trans "latest stable version" %} : {{ prod }}. {% if compare_prod == -1 %}<strong><a href="http://inthepoche.com/?pages/T%C3%A9l%C3%A9charger-poche">{% trans "a more recent stable version is available." %}</a></strong>{% else %}{% trans "you are up to date." %}{% endif %}</li> | 22 | <li>{% trans "latest stable version" %} : {{ prod }}. {% if compare_prod == -1 %}<strong><a href="http://inthepoche.com/?pages/T%C3%A9l%C3%A9charger-poche">{% trans "a more recent stable version is available." %}</a></strong>{% else %}{% trans "you are up to date." %}{% endif %}</li> |
23 | <li>{% trans "latest dev version" %} : {{ dev }}. {% if compare_dev == -1 %}<strong><a href="http://inthepoche.com/?pages/T%C3%A9l%C3%A9charger-poche">{% trans "a more recent development version is available." %}</a></strong>{% else %}{% trans "you are up to date." %}{% endif %}</li> | 23 | {% if constant('DEBUG_POCHE') == 1 %}<li>{% trans "latest dev version" %} : {{ dev }}. {% if compare_dev == -1 %}<strong><a href="http://inthepoche.com/?pages/T%C3%A9l%C3%A9charger-poche">{% trans "a more recent development version is available." %}</a></strong>{% else %}{% trans "you are up to date." %}{% endif %}</li>{% endif %} |
24 | </ul> | 24 | </ul> |
25 | </p> | 25 | </p> |
26 | 26 | ||