1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ihatemoney_ynh.git synced 2024-09-03 19:26:15 +02:00

Add a flash message + the name of the site when sending invitations

This commit is contained in:
Alexis Metaireau 2011-08-21 21:55:47 +02:00
parent 929833cc04
commit 16fcfd284e
2 changed files with 2 additions and 1 deletions

View file

@ -4,7 +4,7 @@ Someone using the email adress {{ g.project.contact_email }} invited you to shar
It's as simple as saying what did you paid for, for who, and how much did it cost you, we are caring about the rest.
You can access it here: {{ SITE_URL }}{{ url_for("list_bills") }}, the password is "{{ g.project.password }}".
You can access it here: {{ config['SITE_URL'] }}{{ url_for("list_bills") }}, the password is "{{ g.project.password }}".
Enjoy,
Some weird guys

View file

@ -152,6 +152,7 @@ def invite():
recipients=[email.strip()
for email in form.emails.data.split(",")])
mail.send(msg)
flash("You invitations have been sent")
return redirect(url_for("list_bills"))
return render_template("send_invites.html", form=form)