fix #1237, display a message instead of button when connections are not through https

This commit is contained in:
Thomas Citharel
2015-07-27 21:50:28 +02:00
parent 66eab89252
commit 6056aaf076
7 changed files with 144 additions and 78 deletions

View File

@ -17,7 +17,7 @@
<h3>Browser Plugins</h3>
<ul>
<li><a href="https://addons.mozilla.org/firefox/addon/wallabag/" target="_blank">{% trans "Standard Firefox Add-On" %}</a></li>
<li><button onclick="activateSocialFeature(this)">{% trans "Mozilla Services (Social API) Extension" %}</button></li>
{% 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 %}
<li><a href="https://chrome.google.com/webstore/detail/wallabag/bepdcjnnkglfjehplaogpoonpffbdcdj" target="_blank">{% trans "Chrome Extension" %}</a></li>
</ul>
<h3>Mobile Apps</h3>