diff --git a/gestion/chambres_vides.py b/gestion/chambres_vides.py index e4978e87..cf7b5325 100755 --- a/gestion/chambres_vides.py +++ b/gestion/chambres_vides.py @@ -70,6 +70,8 @@ for clandestin in bad_boys_e_s: "chambre" : exchambre, "jours" : int(ttl/86400) + 1, "to" : to, + "prenom" : clandestin["prenom"][0], + "nom" : clandestin["nom"][0], "lang_info":"English version below"} ).as_string() if DEBUG: diff --git a/gestion/mail/template/demenagement/body/en b/gestion/mail/template/demenagement/body/en index 9784d459..0a3256a6 100644 --- a/gestion/mail/template/demenagement/body/en +++ b/gestion/mail/template/demenagement/body/en @@ -1,4 +1,4 @@ -Hi ! +Hi {{prenom}} {{nom}}! A new member of Crans has declared to live in room {{chambre}}, which is the one you were registered in. It means we do not have a valid address of yours diff --git a/gestion/mail/template/demenagement/body/fr b/gestion/mail/template/demenagement/body/fr index 50eb8bcd..9ff3d931 100644 --- a/gestion/mail/template/demenagement/body/fr +++ b/gestion/mail/template/demenagement/body/fr @@ -1,4 +1,4 @@ -Bonjour, +Bonjour {{prenom}} {{nom}}, Un adhérent du Crans a déclaré résider dans la chambre {{chambre}}, que tu occupais précédemment. Cela signifie que nous ne disposons