Update email of notification
This commit is contained in:
parent
1fdf322107
commit
e84ae786fa
|
@ -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>""",
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue