aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes/default/config.twig
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2015-07-27 21:50:28 +0200
committerThomas Citharel <tcit@tcit.fr>2015-07-27 21:50:28 +0200
commit6056aaf0769e59944b2d77a3b294f5098a731c3e (patch)
tree072dd0829585d2a6e874fecf32add09366e4872d /themes/default/config.twig
parent66eab89252fa04d5d9f11bf4abcc1c18ac17a1ca (diff)
downloadwallabag-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/default/config.twig')
-rwxr-xr-xthemes/default/config.twig2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/default/config.twig b/themes/default/config.twig
index e39826c3..24e3e570 100755
--- a/themes/default/config.twig
+++ b/themes/default/config.twig
@@ -17,7 +17,7 @@
17 <h3>Browser Plugins</h3> 17 <h3>Browser Plugins</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>Mobile Apps</h3> 23 <h3>Mobile Apps</h3>