diff --git a/jarvis/followup/views_physiological.py b/jarvis/followup/views_physiological.py index a92f9e6..af63ee4 100644 --- a/jarvis/followup/views_physiological.py +++ b/jarvis/followup/views_physiological.py @@ -406,14 +406,14 @@ def heightweight_create_or_update(request, heightweight_id=None, gymnast_id=None """ Email.objects.create(receivers=receivers, title=title, body=body) send_mail( title, - f"Un nouveau poids/taille enregistré pour {heightweight.gymnast} ({date}) : {heightweight.height} cm / {heightweight.weight} kg (BMI: {heightweight.bmi}).", # pylint: disable=line-too-long + f"Un nouveau poids/taille enregistré pour {heightweight.gymnast} ({date}) : {heightweight.height} cm / {heightweight.weight} kg (BMI: {heightweight.bmi:.2f}).", # pylint: disable=line-too-long settings.EMAIL_HOST_USER, receivers, fail_silently=False, diff --git a/jarvis/people/templates/gymnasts/tabs/tab_skills.html b/jarvis/people/templates/gymnasts/tabs/tab_skills.html index e0077b5..1c004ec 100644 --- a/jarvis/people/templates/gymnasts/tabs/tab_skills.html +++ b/jarvis/people/templates/gymnasts/tabs/tab_skills.html @@ -93,9 +93,7 @@ - {% if user_is_trainer %} - - {% endif %} + @@ -108,7 +106,6 @@ {% for plan in planned_skill %} - {% if user_is_trainer %} - {% endif %} +
Notation Label Phase
@@ -126,7 +123,7 @@ {{ plan.educative.skill.notation }} @@ -156,9 +153,7 @@ - {% if user_is_trainer %} - - {% endif %} + @@ -169,7 +164,6 @@ {% for skill in confused_skill %} - {% if user_is_trainer %} - {% endif %} +
Notation Label Diff.
{{ skill.notation }} {{ skill.long_label }} @@ -205,9 +199,7 @@ - {% if user_is_trainer %} - - {% endif %} + @@ -218,7 +210,6 @@ {% for skill in skill_whith_help %} - {% if user_is_trainer %} - {% endif %} + @@ -252,9 +243,7 @@
Notation Label Diff.
{{ skill.notation }} {{ skill.long_label }} {{ skill.difficulty }}
- {% if user_is_trainer %} - - {% endif %} + @@ -265,7 +254,6 @@ {% for skill in skill_without_help %} - {% if user_is_trainer %} - {% endif %} + @@ -299,9 +287,7 @@
Notation Label Diff.
{{ skill.notation }} {{ skill.long_label }} {{ skill.difficulty }}
- {% if user_is_trainer %} - - {% endif %} + @@ -312,7 +298,6 @@ {% for skill in skill_chained %} - {% if user_is_trainer %} - {% endif %} + @@ -346,9 +331,7 @@
Notation Label Diff.
{{ skill.notation }} {{ skill.long_label }} {{ skill.difficulty }}
- {% if user_is_trainer %} - - {% endif %} + @@ -359,7 +342,6 @@ {% for skill in skill_masterised %} - {% if user_is_trainer %} - {% endif %} + @@ -393,9 +375,7 @@
Notation Label Diff.
{{ skill.notation }} {{ skill.long_label }} {{ skill.difficulty }}
- {% if user_is_trainer %} - - {% endif %} + @@ -406,7 +386,6 @@ {% for skill in skill_by_rank %} - {% if user_is_trainer %} - {% endif %} + @@ -444,9 +423,7 @@
ActionsActions Notation Label Diff.
{{ skill.notation }} {{ skill.long_label }} {{ skill.difficulty }}
- {% if user_is_trainer %} - - {% endif %} + @@ -457,7 +434,6 @@ {% for skill in skill_by_level %} - {% if user_is_trainer %} - {% endif %} + @@ -495,9 +471,7 @@
ActionsActions Notation Label Diff.
{{ skill.notation }} {{ skill.long_label }} {{ skill.difficulty }}
- {% if user_is_trainer %} - - {% endif %} + @@ -509,7 +483,6 @@ {% for skill in skill_by_age %} - {% if user_is_trainer %} - {% endif %} + @@ -547,9 +520,7 @@
ActionsActions Notation Label Diff.
{{ skill.notation }} {{ skill.long_label }} {{ skill.difficulty }}
- {% if user_is_trainer %} - - {% endif %} + @@ -560,7 +531,6 @@ {% for skill in unknown_skill %} - {% if user_is_trainer %} - {% endif %} +
ActionsActions Notation Label Diff.
{{ skill.notation }} {{ skill.long_label }} {{ skill.difficulty }}