-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
109 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{% extends "account/base.html" %} | ||
|
||
{% load i18n %} | ||
{% load allauth %} | ||
{% load account %} | ||
|
||
{% block head_title %} | ||
{% translate "Password Reset" %} | ||
{% endblock head_title %} | ||
|
||
{% block content %} | ||
<h1>{% translate "Password Reset" %}</h1> | ||
{% if user.is_authenticated %} | ||
{% include "account/snippets/already_logged_in.html" %} | ||
{% endif %} | ||
<p> | ||
{% blocktranslate %}We have sent you an e-mail. If you have not received it please check your spam folder. Otherwise contact us if you do not receive it in a few minutes.{% endblocktranslate %} | ||
</p> | ||
{% endblock content %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{% extends "account/base.html" %} | ||
{% load i18n %} | ||
{% load allauth %} | ||
{% block head_title %} | ||
{% translate "Verify Your E-mail Address" %} | ||
{% endblock head_title %} | ||
{% block content %} | ||
<h1>{% translate "Verify Your E-mail Address" %}</h1> | ||
<p> | ||
{% blocktranslate %}We have sent an e-mail to you for verification. Follow the link provided to finalize the signup process. If you do not see the verification e-mail in your main inbox, check your spam folder. Please contact us if you do not receive the verification e-mail within a few minutes.{% endblocktranslate %} | ||
</p> | ||
{% endblock content %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{% extends "account/base.html" %} | ||
{% load i18n %} | ||
{% load allauth %} | ||
{% block head_title %} | ||
{% translate "Dummy Provider Login" %} | ||
{% endblock head_title %} | ||
{% block content %} | ||
{% element form form=form method="post" action=action_url %} | ||
{% csrf_token %} | ||
{% slot body %} | ||
{% csrf_token %} | ||
{% element fields form=form %} | ||
{% endelement %} | ||
{% endslot %} | ||
{% slot actions %} | ||
{% element button type="submit" %} | ||
{% translate "Login" %} | ||
{% endelement %} | ||
{% element button form="cancel-form" type="submit" %} | ||
{% translate "Cancel" %} | ||
{% endelement %} | ||
{% endslot %} | ||
{% endelement %} | ||
<form id="cancel-form" method="post" action="{{ action_url }}"> | ||
{% csrf_token %} | ||
<input type="hidden" name="action" value="cancel" /> | ||
</form> | ||
{% endblock %} |
12 changes: 12 additions & 0 deletions
12
adhocracy-plus/templates/socialaccount/authentication_error.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{% extends "account/base.html" %} | ||
{% load i18n %} | ||
{% load allauth %} | ||
{% block head_title %} | ||
{% trans "Third-Party Login Failure" %} | ||
{% endblock head_title %} | ||
{% block content %} | ||
{% element h1 %} | ||
{% trans "Third-Party Login Failure" %} | ||
{% endelement %} | ||
<p>{% trans "An error occurred while attempting to login via your third-party account." %}</p> | ||
{% endblock content %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{% extends "account/base.html" %} | ||
{% load i18n %} | ||
{% load allauth %} | ||
{% block head_title %} | ||
{% trans "Sign In" %} | ||
{% endblock head_title %} | ||
{% block content %} | ||
{% if process == "connect" %} | ||
{% element h1 %} | ||
{% blocktrans with provider.name as provider %}Connect {{ provider }}{% endblocktrans %} | ||
{% endelement %} | ||
<p> | ||
{% blocktrans with provider.name as provider %}You are about to connect a new third-party account from {{ provider }}.{% endblocktrans %} | ||
</p> | ||
{% else %} | ||
{% element h1 %} | ||
{% blocktrans with provider.name as provider %}Sign In Via {{ provider }}{% endblocktrans %} | ||
{% endelement %} | ||
<p> | ||
{% blocktrans with provider.name as provider %}You are about to sign in using a third-party account from {{ provider }}.{% endblocktrans %} | ||
</p> | ||
{% endif %} | ||
{% element form method="post" no_visible_fields=True %} | ||
{% slot actions %} | ||
{% csrf_token %} | ||
{% element button type="submit" %} | ||
{% trans "Continue" %} | ||
{% endelement %} | ||
{% endslot %} | ||
{% endelement %} | ||
{% endblock content %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{% extends "socialaccount/base.html" %} | ||
{% extends "account/base.html" %} | ||
|
||
{% load i18n %} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters