aboutsummaryrefslogtreecommitdiff
path: root/ihatemoney/templates/password_reminder.en.j2
diff options
context:
space:
mode:
authorAlexis Métaireau <alexis@notmyidea.org>2018-01-05 22:06:11 +0100
committerAlexis Métaireau <alexis@notmyidea.org>2018-01-05 22:06:11 +0100
commit3b2e11ab6369dfa853383840dc28915b60c2d062 (patch)
treea3f2ea4554985af7345bcab5e87dcbe2df70a683 /ihatemoney/templates/password_reminder.en.j2
parent4ab8863eb20ea75fc0b3990471a01f4874735f3c (diff)
downloadihatemoney-mirror-3b2e11ab6369dfa853383840dc28915b60c2d062.zip
ihatemoney-mirror-3b2e11ab6369dfa853383840dc28915b60c2d062.tar.gz
ihatemoney-mirror-3b2e11ab6369dfa853383840dc28915b60c2d062.tar.bz2
Include all .j2 files in the packaged version.
I've also renamed the templates to *.j2 in order to make things clearer to others. Having extensions with the name of the locale doesn't seem to be a good practice, and would need us to add the locales in the MANIFEST file each time we add one. Fix #305
Diffstat (limited to 'ihatemoney/templates/password_reminder.en.j2')
-rw-r--r--ihatemoney/templates/password_reminder.en.j28
1 files changed, 8 insertions, 0 deletions
diff --git a/ihatemoney/templates/password_reminder.en.j2 b/ihatemoney/templates/password_reminder.en.j2
new file mode 100644
index 0000000..c654354
--- /dev/null
+++ b/ihatemoney/templates/password_reminder.en.j2
@@ -0,0 +1,8 @@
+Hi,
+
+You requested to reset the password of the following project: "{{ project.name }}".
+You can reset it here: {{ url_for(".reset_password", _external=True, token=project.generate_token(expiration=3600)) }}.
+This link is only valid for one hour.
+
+Hope this helps,
+Some weird guys (with beards)