aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--budget/templates/invitation_mail2
-rw-r--r--budget/web.py1
2 files changed, 2 insertions, 1 deletions
diff --git a/budget/templates/invitation_mail b/budget/templates/invitation_mail
index 83a7840..62f2ff2 100644
--- a/budget/templates/invitation_mail
+++ b/budget/templates/invitation_mail
@@ -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
diff --git a/budget/web.py b/budget/web.py
index 39ffd1a..d91bbb7 100644
--- a/budget/web.py
+++ b/budget/web.py
@@ -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)