aboutsummaryrefslogtreecommitdiffstats
path: root/jm2l/templates/mail_plain.mako
diff options
context:
space:
mode:
Diffstat (limited to 'jm2l/templates/mail_plain.mako')
-rw-r--r--jm2l/templates/mail_plain.mako8
1 files changed, 4 insertions, 4 deletions
diff --git a/jm2l/templates/mail_plain.mako b/jm2l/templates/mail_plain.mako
index 7ab174b..a5ae5b4 100644
--- a/jm2l/templates/mail_plain.mako
+++ b/jm2l/templates/mail_plain.mako
@@ -1,15 +1,15 @@
## -*- coding: utf-8 -*-
-<%def name="Bienvenue(User)">
+<%def name="Bienvenue(request, User)">
Bonjour ${User.prenom}.
Vous venez de valider votre inscription sur le site des JM2L.
Voici votre le lien pour vous connecter à votre profil:
-http://jm2l.style-python.fr/sign/jm2l/${User.my_hash}
+${request.route_url('bymail', hash=User.my_hash)}
Toute l'équipe vous souhaite une très agréable visite !
</%def> \
% if action=='Welcome':
-${self.Bienvenue(User)}
-% endif \ No newline at end of file
+${self.Bienvenue(request, User)}
+% endif