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/invitation_mail.en.j2 | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 ihatemoney/templates/invitation_mail.en.j2 (limited to 'ihatemoney/templates/invitation_mail.en.j2') diff --git a/ihatemoney/templates/invitation_mail.en.j2 b/ihatemoney/templates/invitation_mail.en.j2 new file mode 100644 index 0000000..42be0d2 --- /dev/null +++ b/ihatemoney/templates/invitation_mail.en.j2 @@ -0,0 +1,12 @@ +Hi, + +Someone using the email address {{ g.project.contact_email }} invited you to share your expenses for "{{ g.project.name }}". + +It's as simple as saying what did you pay for, for whom, and how much did it cost you, we are caring about the rest. + +You can log in using this link: {{ url_for(".authenticate", _external=True, token=g.project.generate_token()) }}. +Once logged-in, you can use the following link which is easier to remember: {{ url_for(".list_bills", _external=True) }} +If your cookie gets deleted or if you log out, you will need to log back in using the first link. + +Enjoy, +Some weird guys (with beards) -- cgit v1.1