Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

translation blocks added to invitation emails #1276

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions ihatemoney/templates/invitation_mail.j2
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{% trans
contact_email=g.project.contact_email,
project_name=g.project_name,
join_link=url_for(".join_project", _external=True, project_id=g.project.id, token=g.project.generate_token()),
short_link=url_for(".list_bills", _external=True)
%}
Hi,

Someone using the email address {{ contact_email }} invited you to share your expenses for "{{ project_name }}".

It's as simple as saying what did you pay for, for whom, and how much did it cost? We are taking care of the rest.

You can log in using this link: {{ join_link }}.

Once logged-in, you can use the following link: {{ short_link }}
If your cookie gets deleted or if you log out, you will need to log back in using the first link.

See you!
{% endtrans %}
Loading