-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: make every communication email inherit from base template
- Loading branch information
Julie Rymer
committed
Apr 23, 2024
1 parent
6461913
commit 89d157e
Showing
5 changed files
with
23 additions
and
6 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
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
7 changes: 6 additions & 1 deletion
7
src/oscar/templates/oscar/communication/emails/commtype_registration_body.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 |
---|---|---|
@@ -1 +1,6 @@ | ||
{% load i18n %}<p>{% trans 'Thank you for registering.' %}</p> | ||
{% extends "oscar/communication/emails/base.html" %} | ||
{% load i18n %} | ||
|
||
{% block body %} | ||
<p>{% trans 'Thank you for registering.' %}</p> | ||
{% endblock %} |
4 changes: 3 additions & 1 deletion
4
src/oscar/templates/oscar/communication/emails/commtype_registration_body.txt
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,3 @@ | ||
{% load i18n %}{% trans 'Thank you for registering.' %} | ||
{% extends "oscar/communication/emails/base.txt" %} | ||
{% load i18n %} | ||
{% block body %}{% trans 'Thank you for registering.' %}{% endblock %} |