From 3b2e11ab6369dfa853383840dc28915b60c2d062 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexis=20M=C3=A9taireau?= Date: Fri, 5 Jan 2018 22:06:11 +0100 Subject: 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 --- ihatemoney/templates/password_reminder.en.j2 | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 ihatemoney/templates/password_reminder.en.j2 (limited to 'ihatemoney/templates/password_reminder.en.j2') 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) -- cgit v1.1