fixes #2581: Hide themes from menu if no themes.
[wolnelektury.git] / apps / wolnelektury_core / templates / socialaccount / connections.html
index 0446fd9..9896b09 100644 (file)
@@ -7,6 +7,7 @@
 {% block body %}
 <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>
 
@@ -24,8 +25,8 @@
 <div class="ctrlHolder">
 <label for="id_account_{{base_account.id}}">
 <input id="id_account_{{base_account.id}}" type="radio" name="account" value="{{base_account.id}}"/>
-<span class="socialaccount_provider {{account.get_provider}}">{{account.get_provider}}</span>
-{{account}}
+<span class="socialaccount_provider {{base_account.provider}} {{account.get_brand.id}}">{{account.get_brand.name}}</span>
+<small>{{account}}</small>
 </label>
 </div>
 {% endwith %}
@@ -50,7 +51,7 @@
 </ul>
 
 {% include "socialaccount/snippets/login_extra.html" %}
-
+</div>
 {% endblock %}