X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/8139f82c719f4a041b18fd445026b8cf78aca4a6..451f7b0e0ee3bfdab38cfa9c98a297c5320b52ad:/wolnelektury/templates/socialaccount/connections.html diff --git a/wolnelektury/templates/socialaccount/connections.html b/wolnelektury/templates/socialaccount/connections.html new file mode 100644 index 000000000..0446fd921 --- /dev/null +++ b/wolnelektury/templates/socialaccount/connections.html @@ -0,0 +1,56 @@ +{% extends "site_base.html" %} + +{% load i18n %} + +{% block head_title %}{% trans "Account Connections" %}{% endblock %} + +{% block body %} +

{% trans "Account Connections" %}

+ +{% if form.accounts %} +

{% blocktrans %}You can sign in to your account using any of the following third party accounts:{% endblocktrans %}

+ + +
+{% csrf_token %} + +
+{% if form.non_field_errors %} +
{{form.non_field_errors}}
+{% endif %} + +{% for base_account in form.accounts %} +{% with base_account.get_provider_account as account %} +
+ +
+{% endwith %} +{% endfor %} + +
+ +
+ +
+ +
+ +{% else %} +

{% trans "You currently have no social network accounts connected to this account." %}

+{% endif %} + +

{% trans 'Add a 3rd Party Account' %}

+ + + +{% include "socialaccount/snippets/login_extra.html" %} + +{% endblock %} + +