X-Git-Url: https://git.mdrn.pl/cas.git/blobdiff_plain/f88d7170763153204cf4264837b2a1997ba7903c..de84f8005cbb194987bd71fd2e1282f3a113f3cf:/src/cas/templates/socialaccount/connections.html diff --git a/src/cas/templates/socialaccount/connections.html b/src/cas/templates/socialaccount/connections.html new file mode 100644 index 0000000..85d163b --- /dev/null +++ b/src/cas/templates/socialaccount/connections.html @@ -0,0 +1,58 @@ +{% extends "base.html" %} + +{% load i18n %} +{% load static from staticfiles %} + +{% block title %}{% trans "Account Connections" %}{% endblock %} + +{% block content %} +

{% 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 %} + +