-
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.
all email letters have been refactored
- Loading branch information
1 parent
a8ca542
commit 5fd4418
Showing
12 changed files
with
245 additions
and
114 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
[python: **.py] | ||
[jinja2: **/templates/**.txt] | ||
[jinja2: **/templates/**.html] | ||
extensions=jinja2.ext.autoescape,jinja2.ext.with_ |
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 |
---|---|---|
@@ -1,8 +1,14 @@ | ||
<p>Dear {{ user.username }},</p> | ||
<p>Welcome to <b>4RUM</b>!</p> | ||
<p>To confirm your account please <a href="{{ url_for('auth.confirm', token=token, _external=True) }}">click here</a>.</p> | ||
<p>Alternatively, you can paste the following link in your browser's address bar:</p> | ||
<p>{{ url_for('auth.confirm', token=token, _external=True) }}</p> | ||
<p>Sincerely,</p> | ||
<p>The 4RUM Team</p> | ||
<p><small>Note: replies to this email address are not monitored.</small></p> | ||
{{ _('Dear') }} <b>{{ user.username }}</b>, | ||
<p> | ||
{{ _('Welcome to <b>4RUM</b>!') }} | ||
<br>{{ _('To confirm your account please') }} <a href="{{ url_for('auth.confirm', token=token, _external=True) }}">{{ _('click here') }}</a>. | ||
<br>{{ _('Alternatively, you can paste the following link in your browser\'s address bar:') }} | ||
<br>{{ url_for('auth.confirm', token=token, _external=True) }} | ||
</p> | ||
<p> | ||
{{ _('Sincerely') }}, | ||
<br>{{ _('The 4RUM Team') }} | ||
</p> | ||
<p> | ||
<small>{{ _('Note: replies to this email address are not monitored.') }}</small> | ||
</p> |
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,13 +1,10 @@ | ||
Dear {{ user.username }}, | ||
|
||
Welcome to 4RUM! | ||
|
||
To confirm your account please click on the following link: | ||
{{ _('Dear') }} {{ user.username }}, | ||
|
||
{{ _('Welcome to 4RUM!') }} | ||
{{ _('To confirm your account please click on the following link:') }} | ||
{{ url_for('auth.confirm', token=token, _external=True) }} | ||
|
||
Sincerely, | ||
|
||
The 4RUM Team | ||
{{ _('Sincerely') }}, | ||
{{ _('The 4RUM Team') }} | ||
|
||
Note: replies to this email address are not monitored. | ||
{{ _('Note: replies to this email address are not monitored.') }} |
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,8 +1,14 @@ | ||
<p>Dear {{ user.username }},</p> | ||
<p>You have changed your email for <b>4RUM</b> account.</p> | ||
<p>To confirm your new email please <a href="{{ url_for('auth.confirm_new_email', token=token, _external=True) }}">click here</a>.</p> | ||
<p>Alternatively, you can paste the following link in your browser's address bar:</p> | ||
<p>{{ url_for('auth.confirm_new_email', token=token, _external=True) }}</p> | ||
<p>Sincerely,</p> | ||
<p>The 4RUM Team</p> | ||
<p><small>Note: replies to this email address are not monitored.</small></p> | ||
{{ _('Dear') }} <b>{{ user.username }}</b>, | ||
<p> | ||
{{ _('You have changed your email for <b>4RUM</b> account.') }} | ||
<br>{{ _('To confirm your new email please') }} <a href="{{ url_for('auth.confirm_new_email', token=token, _external=True) }}">{{ _('click here') }}</a>. | ||
<br>{{ _('Alternatively, you can paste the following link in your browser\'s address bar:') }} | ||
<br>{{ url_for('auth.confirm_new_email', token=token, _external=True) }} | ||
</p> | ||
<p> | ||
{{ _('Sincerely') }}, | ||
<br>{{ _('The 4RUM Team') }} | ||
</p> | ||
<p> | ||
<small>{{ _('Note: replies to this email address are not monitored.') }}</small> | ||
</p> |
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,13 +1,10 @@ | ||
Dear {{ user.username }}, | ||
|
||
You have changed your email for 4RUM account. | ||
|
||
To confirm your new email please click on the following link: | ||
{{ _('Dear') }} {{ user.username }}, | ||
|
||
{{ _('You have changed your email for 4RUM account.') }} | ||
{{ _('To confirm your new email please click on the following link:') }} | ||
{{ url_for('auth.confirm_new_email', token=token, _external=True) }} | ||
|
||
Sincerely, | ||
|
||
The 4RUM Team | ||
{{ _('Sincerely') }}, | ||
{{ _('The 4RUM Team') }} | ||
|
||
Note: replies to this email address are not monitored. | ||
{{ _('Note: replies to this email address are not monitored.') }} |
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,9 +1,15 @@ | ||
<p>Dear {{ user.username }},</p> | ||
<p>You have requested password reset for <b>4RUM</b> account.</p> | ||
<p>To reset your password please <a href="{{ url_for('auth.reset_password', token=token, _external=True) }}">click here</a>.</p> | ||
<p>Alternatively, you can paste the following link in your browser's address bar:</p> | ||
<p>{{ url_for('auth.reset_password', token=token, _external=True) }}</p> | ||
<p>If you have not requested a password reset simply ignore this message.</p> | ||
<p>Sincerely,</p> | ||
<p>The 4RUM Team</p> | ||
<p><small>Note: replies to this email address are not monitored.</small></p> | ||
{{ _('Dear') }} <b>{{ user.username }}</b>, | ||
<p> | ||
{{ _('You have requested password reset for <b>4RUM</b> account.') }} | ||
<br>{{ _('To reset your password please') }} <a href="{{ url_for('auth.reset_password', token=token, _external=True) }}">{{ _('click here') }}</a>. | ||
<br>{{ _('Alternatively, you can paste the following link in your browser\'s address bar:') }} | ||
<br>{{ url_for('auth.reset_password', token=token, _external=True) }} | ||
<br>{{ _('If you have not requested a password reset simply ignore this message.') }} | ||
</p> | ||
<p> | ||
{{ _('Sincerely') }}, | ||
<br>{{ _('The 4RUM Team') }} | ||
</p> | ||
<p> | ||
<small>{{ _('Note: replies to this email address are not monitored.') }}</small> | ||
</p> |
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,15 +1,11 @@ | ||
Dear {{ user.username }}, | ||
|
||
You have requested password reset for 4RUM account. | ||
|
||
To reset your password please click on the following link: | ||
{{ _('Dear') }} {{ user.username }}, | ||
|
||
{{ _('You have requested password reset for 4RUM account.') }} | ||
{{ _('To reset your password please click on the following link:') }} | ||
{{ url_for('auth.reset_password', token=token, _external=True) }} | ||
{{ _('If you have not requested a password reset simply ignore this message.') }} | ||
|
||
If you have not requested a password reset simply ignore this message. | ||
|
||
Sincerely, | ||
|
||
The 4RUM Team | ||
{{ _('Sincerely') }}, | ||
{{ _('The 4RUM Team') }} | ||
|
||
Note: replies to this email address are not monitored. | ||
{{ _('Note: replies to this email address are not monitored.') }} |
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 @@ | ||
User <b>{{ user.username }}</b> has joined. | ||
New user has joined. | ||
<p> | ||
Username: {{ user.username }} | ||
<br>Email: {{ user.email }} | ||
<br>Profile: {{ url_for('main.user', username=user.username, _external=True) }} | ||
</p> |
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,5 @@ | ||
User {{ user.username }} has joined. | ||
New user has joined. | ||
|
||
Username: {{ user.username }} | ||
Email: {{ user.email }} | ||
Profile: {{ url_for('main.user', username=user.username, _external=True) }} |
Oops, something went wrong.