{% load i18n %}
-{% block head_title %}{% trans "Account Connections" %}{% endblock %}
+{% block head_title %}{% trans "Połączone konta" %}{% endblock %}
{% block body %}
-<div class="normal-text white-box">
+ <div class="normal-text white-box">
-<h1>{% trans "Account Connections" %}</h1>
+ <h1>{% trans "Połączone konta" %}</h1>
{% if form.accounts %}
-<p>{% blocktrans %}You can sign in to your account using any of the following third party accounts:{% endblocktrans %}</p>
+<p>{% blocktrans %}Możesz się logować, używając jednego z tych zewnętrznych kont:{% endblocktrans %}</p>
-<form class="uniForm" method="post">
+<form method="post">
{% csrf_token %}
-<fieldset class="blockLabels">
{% if form.non_field_errors %}
-<div id="errorMsg">{{form.non_field_errors}}</div>
+<div>{{form.non_field_errors}}</div>
{% endif %}
{% for base_account in form.accounts %}
{% with base_account.get_provider_account as account %}
-<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 {{base_account.provider}} {{account.get_brand.id}}">{{account.get_brand.name}}</span>
<small>{{account}}</small>
-</label>
-</div>
+</label><br><br>
{% endwith %}
{% endfor %}
-<div class="buttonHolder">
-<button type="submit">{% trans "Remove" %}</button>
-</div>
+<button type="submit">{% trans "Usuń" %}</button>
-</fieldset>
</form>
{% else %}
-<p>{% trans "You currently have no social network accounts connected to this account." %}</p>
+<p>{% trans "Nie masz podłączonych żadnych zewnętrznych kont." %}</p>
{% endif %}
-<h2>{% trans 'Add a 3rd Party Account' %}</h2>
+{% if USE_OPENID %}
+<h2>{% trans 'Podłącz zewnętrzne konto' %}</h2>
<ul class="socialaccount_providers">
{% include "socialaccount/snippets/provider_list.html" with process="connect" %}
</ul>
{% include "socialaccount/snippets/login_extra.html" %}
+{% endif %}
</div>
{% endblock %}
-
-