diff --git a/jarvis/followup/views.py b/jarvis/followup/views.py index ca41a69..6d1c2e7 100644 --- a/jarvis/followup/views.py +++ b/jarvis/followup/views.py @@ -654,6 +654,8 @@ def learnedskill_create_or_update(request, gymnast_id=None): # notification receiver = [] + skill = form.cleaned_data["skill"] + learning_step = form.cleaned_data["learning_step"] gymnast = Gymnast.objects.get(pk=form.cleaned_data["gymnast"].id) functionality = ContentType.objects.get(model="learnedskill") for notification in gymnast.notifications.filter( @@ -668,7 +670,7 @@ def learnedskill_create_or_update(request, gymnast_id=None): receiver, fail_silently=False, html_message=f"""

Bonjour,

-

Un nouveau skill () a été appris par {gymnast}.


+

{gymnast} a appris {skill} ({learning_step}).


Excellente journée

Jarvis

""", )