diff options
author | Thomas Citharel <tcit@tcit.fr> | 2015-07-27 21:50:28 +0200 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2015-07-27 21:50:28 +0200 |
commit | 6056aaf0769e59944b2d77a3b294f5098a731c3e (patch) | |
tree | 072dd0829585d2a6e874fecf32add09366e4872d /themes/baggy | |
parent | 66eab89252fa04d5d9f11bf4abcc1c18ac17a1ca (diff) | |
download | wallabag-6056aaf0769e59944b2d77a3b294f5098a731c3e.tar.gz wallabag-6056aaf0769e59944b2d77a3b294f5098a731c3e.tar.zst wallabag-6056aaf0769e59944b2d77a3b294f5098a731c3e.zip |
fix #1237, display a message instead of button when connections are not through https
Diffstat (limited to 'themes/baggy')
-rwxr-xr-x | themes/baggy/config.twig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/baggy/config.twig b/themes/baggy/config.twig index 2e40178e..6f55cd75 100755 --- a/themes/baggy/config.twig +++ b/themes/baggy/config.twig | |||
@@ -17,7 +17,7 @@ | |||
17 | <h3>{% trans "Browser Addons" %}</h3> | 17 | <h3>{% trans "Browser Addons" %}</h3> |
18 | <ul> | 18 | <ul> |
19 | <li><a href="https://addons.mozilla.org/firefox/addon/wallabag/" target="_blank">{% trans "Standard Firefox Add-On" %}</a></li> | 19 | <li><a href="https://addons.mozilla.org/firefox/addon/wallabag/" target="_blank">{% trans "Standard Firefox Add-On" %}</a></li> |
20 | <li><button onclick="activateSocialFeature(this)">{% trans "Mozilla Services (Social API) Extension" %}</button></li> | 20 | {% if https %}<li><button onclick="activateSocialFeature(this)">{% trans "Mozilla Services (Social API) Extension" %}</button></li>{% else %}<li>{% trans "Mozilla Services (Social API) Extension needs an https connection" %}</li>{% endif %} |
21 | <li><a href="https://chrome.google.com/webstore/detail/wallabag/bepdcjnnkglfjehplaogpoonpffbdcdj" target="_blank">{% trans "Chrome Extension" %}</a></li> | 21 | <li><a href="https://chrome.google.com/webstore/detail/wallabag/bepdcjnnkglfjehplaogpoonpffbdcdj" target="_blank">{% trans "Chrome Extension" %}</a></li> |
22 | </ul> | 22 | </ul> |
23 | <h3>{% trans "Mobile Apps" %}</h3> | 23 | <h3>{% trans "Mobile Apps" %}</h3> |