Update email of notification

This commit is contained in:
Gregory Trullemans 2023-05-19 10:56:23 +02:00
parent 1fdf322107
commit e84ae786fa
1 changed files with 2 additions and 2 deletions

View File

@ -959,7 +959,7 @@ def mindstate_create_or_update(
receiver,
fail_silently=False,
html_message=f"""<p>Bonjour,</p>
<p>Un nouvel état d'esprit enregistré pour {gymnast}.</p><br />
<p>{gymnast} a ajouté état son esprit enregistré ({date}) : {score}/10.</p><br />
<p>Excellente journée</p><p>Jarvis</p>""",
)
@ -1368,7 +1368,7 @@ def intensity_create_or_update(request, intensity_id=None, gymnast_id=None):
receiver,
fail_silently=False,
html_message=f"""<p>Bonjour,</p>
<p>{gymnast} a encodé une nouvelle intensité ({date}) : {number_of_passes} en {time}min ({difficulty} | {quantity_of_skill}).</p><br />
<p>{gymnast} a encodé une nouvelle intensité (pour le {date.strftime('%d %B %Y')}) : {number_of_passes} passages en {time} min (diff : {difficulty} | # skills : {quantity_of_skill}).</p><br />
<p>Excellente journée</p><p>Jarvis</p>""",
)