-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added the templates. rest is Lukas job
does most of the work for #251
- Loading branch information
1 parent
1c0d940
commit c5524b1
Showing
11 changed files
with
166 additions
and
51 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
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
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,24 @@ | ||
{% extends '../base.html' %} | ||
{% block recipient %} | ||
{{ user.get_full_name }}, your account will be deleted on {{ deleted_at }} | ||
{% endblock %} | ||
{% block information %} | ||
<tr> | ||
<td style="padding-top:3%;padding-bottom:3%;"> | ||
<table role="presentation" | ||
style="width:100%;border-collapse:collapse;border:1px solid #ffffff;border-spacing:0;text-align:left;"> | ||
<tr> | ||
<td align="center" | ||
style="padding:2%;background-color:#f2f2f2;font-family:Roboto,Arial,sans-serif;font-size:1.2em;font-weight:500;line-height:1.5;letter-spacing:0.25px;color:#0b0b0b"> | ||
If you wish to recover your account, please click the button below before the date mentioned above. | ||
</td> | ||
</tr> | ||
</table> | ||
</td> | ||
</tr> | ||
{% endblock %} | ||
{% block button %} | ||
<a href="{{ restore_link }}" | ||
style="display:block;width:100%;height:100%;padding:2% 0%;background:#b59659;color:#ffffff;font-family:Roboto,Arial,sans-serif;font-weight:500;text-decoration:none;font-size:1em;line-height:1.5;letter-spacing:0.25px" | ||
target="_blank">Recover</a> | ||
{% endblock %} |
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,18 @@ | ||
{% load settings_tags %} | ||
|
||
Hello {{ user.get_full_name }}, | ||
|
||
Your account is subjected to be deleted on {{ deleted_at }}. | ||
|
||
This action is reversible up to the time above. If you want to keep your account, please click or copy paste the following link to recover your account. | ||
|
||
{{ recover_link }} | ||
|
||
Please click or copy paste the following link to review this announcement. | ||
|
||
{{ review_link }} | ||
|
||
Sincerely, | ||
Metropolis Team | ||
|
||
This email is automated. Please send us an email at {% settings_value 'DEFAULT_FROM_EMAIL' %} for any concerns. |
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,25 @@ | ||
{% extends '../base.html' %} | ||
{% block recipient %} | ||
{{ user.get_full_name }}, your account will be deleted on {{ deleted_at }} | ||
{% endblock %} | ||
{% block information %} | ||
<tr> | ||
<td style="padding-top:3%;padding-bottom:3%;"> | ||
<table role="presentation" | ||
style="width:100%;border-collapse:collapse;border:1px solid #ffffff;border-spacing:0;text-align:left;"> | ||
<tr> | ||
<td align="center" | ||
style="padding:2%;background-color:#f2f2f2;font-family:Roboto,Arial,sans-serif;font-size:1.2em;font-weight:500;line-height:1.5;letter-spacing:0.25px;color:#0b0b0b"> | ||
If you wish to recover your account, please click the button below before the date mentioned | ||
above. | ||
</td> | ||
</tr> | ||
</table> | ||
</td> | ||
</tr> | ||
{% endblock %} | ||
{% block button %} | ||
<a href="{{ restore_link }}" | ||
style="display:block;width:100%;height:100%;padding:2% 0%;background:#b59659;color:#ffffff;font-family:Roboto,Arial,sans-serif;font-weight:500;text-decoration:none;font-size:1em;line-height:1.5;letter-spacing:0.25px" | ||
target="_blank">Recover</a> | ||
{% endblock %} |
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,18 @@ | ||
{% load settings_tags %} | ||
|
||
Hello {{ user.get_full_name }}, | ||
|
||
Your account is subjected to be deleted on {{ deleted_at }}. | ||
|
||
This action is reversible up to the time above. If you want to keep your account, please click or copy paste the following link to recover your account. | ||
|
||
{{ recover_link }} | ||
|
||
Please click or copy paste the following link to review this announcement. | ||
|
||
{{ review_link }} | ||
|
||
Sincerely, | ||
Metropolis Team | ||
|
||
This email is automated. Please send us an email at {% settings_value 'DEFAULT_FROM_EMAIL' %} for any concerns. |