add option to enable openid (disabled by default)
[wolnelektury.git] / src / wolnelektury / templates / socialaccount / connections.html
index 3df16a8..0f10724 100644 (file)
@@ -5,9 +5,10 @@
 {% block head_title %}{% trans "Account Connections" %}{% endblock %}
 
 {% block body %}
+<div class="normal-text white-box">
+
 <h1>{% trans "Account Connections" %}</h1>
 
-<div class="normal-text white-box">
 {% if form.accounts %}
 <p>{% blocktrans %}You can sign in to your account using any of the following third party accounts:{% endblocktrans %}</p>
 
@@ -44,6 +45,7 @@
 <p>{% trans "You currently have no social network accounts connected to this account." %}</p>
 {% endif %}
 
+{% if USE_OPENID %}
 <h2>{% trans 'Add a 3rd Party Account' %}</h2>
 
 <ul class="socialaccount_providers">
@@ -51,6 +53,7 @@
 </ul>
 
 {% include "socialaccount/snippets/login_extra.html" %}
+{% endif %}
 </div>
 {% endblock %}