-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #526 from UW-GAC/feature/Move-account-link-verific…
…ation-email-templates-into-the-account-adapter Move account link verification email template(s) into the account adapter
- Loading branch information
Showing
9 changed files
with
49 additions
and
2 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 |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = "0.26.0.dev0" | ||
__version__ = "0.26.0.dev1" |
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
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 |
---|---|---|
|
@@ -51,6 +51,7 @@ class TestAccountAdapter(BaseAccountAdapter): | |
account_link_redirect = "test_login" | ||
account_link_email_subject = "custom subject" | ||
account_verify_notification_email = "[email protected]" | ||
account_verification_email_template = "test_account_verification_email.html" | ||
|
||
def get_autocomplete_queryset(self, queryset, q): | ||
if q: | ||
|
14 changes: 14 additions & 0 deletions
14
anvil_consortium_manager/tests/test_app/templates/test_account_verification_email.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,14 @@ | ||
{% autoescape off %} | ||
Hi {{ user.username }}, | ||
|
||
{% block before_link %} | ||
Please click on the link to verify your AnVIL account email: | ||
{% endblock before_link %} | ||
|
||
{{ verification_link }} | ||
|
||
{% block after_link %} | ||
This is a custom template. | ||
{% endblock after_link %} | ||
|
||
{% endautoescape %} |
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