From 2b9150f774aec52d167374ea89565671b982f0ee Mon Sep 17 00:00:00 2001 From: Gregory Trullemans Date: Wed, 19 Oct 2022 08:54:43 +0200 Subject: [PATCH] Update gymnast details skill info --- templates/people/gymnasts/tab_skill.html | 87 ++++++++++++++++++++++-- 1 file changed, 80 insertions(+), 7 deletions(-) diff --git a/templates/people/gymnasts/tab_skill.html b/templates/people/gymnasts/tab_skill.html index 0a53cfa8de..8b15a251e8 100644 --- a/templates/people/gymnasts/tab_skill.html +++ b/templates/people/gymnasts/tab_skill.html @@ -4,7 +4,7 @@
- {% if planned_skill or skill_whith_help or skill_without_help or skill_by_rank or skill_by_level or skill_by_age or unknown_skill %} + {% if planned_skill or skill_whith_help or skill_without_help or skill_chained or skill_masterised or skill_by_rank or skill_by_level or skill_by_age or unknown_skill %}
+ {% endif %} + + {% if skill_masterised %} +
+ + + + {% if user_is_trainer %} + + {% endif %} + + + + + + + + + {% for skill in skill_masterised %} + + {% if user_is_trainer %} + {% endif %} @@ -477,9 +550,9 @@ $.ajax({ url: '/follow-up/learnedskill/new/', data: { - gymnast_id: $(this).data('gymnastid'), - skill_id: $(this).data('skillid'), - learning_step: $(this).data('link'), + gymnast_id: $(this).data('gymnast_id'), + skill_id: $(this).data('skill_id'), + learning_step: $(this).data('learning_step'), csrfmiddlewaretoken: '{{ csrf_token }}' }, type: 'POST',
NotationLabelDiff.LevelRank
+ + + + + {{ skill.notation }}