Fixes #3509: support for long titles.
[wolnelektury.git] / apps / wolnelektury_core / templates / socialaccount / connections.html
index 0446fd9..3df16a8 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 %}
 <h2>{% trans 'Add a 3rd Party Account' %}</h2>
 
 <ul class="socialaccount_providers">
-{% include "socialaccount/snippets/provider_list.html" %}
+{% include "socialaccount/snippets/provider_list.html" with process="connect" %}
 </ul>
 
 {% include "socialaccount/snippets/login_extra.html" %}
-
+</div>
 {% endblock %}