{% load static %} {{ gymnast.first_name }} {{ gymnast.last_name }}
{{ SITE_TITLE }} - {{ CLUB_NAME }}
{{ ADDRESS }} - {{ ZIP }} {{ CITY }}
Season {{ season }} - week {{ week_number }}
Head Coach : {{ HEAD_COACH }}
{{ HEAD_COACH_EMAIL }}
{{ today | date:"j F Y" }}

{{ gymnast.first_name }} {{ gymnast.last_name }}

{{ gymnast.age }} years - {% if gymnast.orientation %}{{ gymnast.get_orientation_display }}{% else %}unknown{% endif %} twisting side.

{% if gymnast.informations %} {{ gymnast.to_markdown | safe }} {% endif %}
{% if last_mindstate or last_height_weigth or mindstate_analyse or height_analyse or weight_analyse %}

Physiological

{% if last_mindstate %} {% endif %} {% if last_height and last_weight %} {% endif %}
Mind state {{ last_mindstate }} {% if mindstate_analyse %}{{ mindstate_analyse }}{% endif %}
Height {{ last_height }} {% if height_analyse %}{{ height_analyse }}{% endif %}
Weight {{ last_weigth }} {% if weight_analyse %}{{ weight_analyse }}{% endif %}
{% endif %}

Best ToF

{% if best_tof_straightjump or best_tof_routine_1 or best_tof_routine_2 %} {% if best_tof_straightjump %} {% endif %} {% if best_tof_routine_1 %} {% endif %} {% if best_tof_routine_2 %} {% endif %}
Chrono ToF
ToF | {{ best_tof_straightjump.score }} {{ best_tof_straightjump.tof }} {{ best_tof_straightjump.date|date:"j M Y" }}
Routine 1 {{ best_tof_routine_1.score }} {{ best_tof_routine_1.tof }} {{ best_tof_routine_1.date|date:"j M Y" }}
Routine 2 {{ best_tof_routine_2.score }} {{ best_tof_routine_2.tof }} {{ best_tof_routine_2.date|date:"j M Y" }}
{% endif %}

Best Scores

{% if best_point_routine_1 or best_point_routine_2 %} {% if best_point_routine_1 %} {% endif %} {% if best_point_routine_2 %} {% endif %} {% if best_point_routine_3 %} {% endif %} {% if best_point_routine_4 %} {% endif %} {% if best_point_routine_5 %} {% endif %}
Exe. Diff. HD ToF Total
Routine 1 {{ best_point_routine_1.point_execution }} {{ best_point_routine_1.point_difficulty }} {{ best_point_routine_1.point_horizontal_displacement }} {{ best_point_routine_1.point_time_of_flight }} {{ best_point_routine_1.total }} {{ best_point_routine_1.event.date_begin|date:"j M Y" }}
Routine 2 {{ best_point_routine_2.point_execution }} {{ best_point_routine_2.point_difficulty }} {{ best_point_routine_2.point_horizontal_displacement }} {{ best_point_routine_2.point_time_of_flight }} {{ best_point_routine_2.total }} {{ best_point_routine_2.event.date_begin|date:"j M Y" }}
Routine 2 {{ best_point_routine_3.point_execution }} {{ best_point_routine_3.point_difficulty }} {{ best_point_routine_3.point_horizontal_displacement }} {{ best_point_routine_3.point_time_of_flight }} {{ best_point_routine_3.total }} {{ best_point_routine_3.event.date_begin|date:"j M Y" }}
Routine 2 {{ best_point_routine_4.point_execution }} {{ best_point_routine_4.point_difficulty }} {{ best_point_routine_4.point_horizontal_displacement }} {{ best_point_routine_4.point_time_of_flight }} {{ best_point_routine_4.total }} {{ best_point_routine_4.event.date_begin|date:"j M Y" }}
Routine 2 {{ best_point_routine_5.point_execution }} {{ best_point_routine_5.point_difficulty }} {{ best_point_routine_5.point_horizontal_displacement }} {{ best_point_routine_5.point_time_of_flight }} {{ best_point_routine_5.total }} {{ best_point_routine_5.event.date_begin|date:"j M Y" }}
{% endif %}

Last learned skills

{% for learned_skill in learned_skills %} {% endfor %}
{{ learned_skill.skill.short_label }} ({{ learned_skill.get_learning_step_display }}) {{ learned_skill.skill.notation }} {{ learned_skill.date|date:"j M Y" }}

Objectives

{% if plan_list %} {% for plan in plan_list %} {% endfor %}
{{ plan.educative.short_label }} ({{ plan.get_learning_step_display }}) {{ plan.skill.notation }} {{ plan.date | date:"j M Y" }}
{% else %} No objective defined. {% endif %}

Next Events

{% if next_event_list %} {% for event in next_event_list %} {% endfor %}
{{ event.date_begin | date:"j M Y" }} in {{ event.number_of_week_from_today }} week(s) {{ event.name }}
{% else %} No events defined. {% endif %}

Notes

{% if notes %} {% for note in notes %} {{ note.to_markdown | safe }} {% endfor %} {% else %} No note this week. {% endif %}

{% if routine_1 or routine_2 or routine_3 or routine_4 or routine_5 %}

Routines

Q1 routine 1
{% if routine_1 %} {% for routine_skill in routine_1.routine.skill_links.all %} {% endfor %}
{{ routine_skill.skill.notation }} {{ routine_skill.skill.difficulty }}
{{ routine_1.routine.difficulty }}
{% else %} No routine defined. {% endif %} {% if routine_1_done_stat.total_succeeded %} {{ routine_1_done_stat.total_succeeded }} | {{ routine_1_done_stat.total_try }} ({% widthratio routine_1_done_stat.total_succeeded routine_1_done_stat.total_try 100 %}%) {% endif %}
Q1 routine 2
{% if routine_2 %} {% for routine_skill in routine_2.routine.skill_links.all %} {% endfor %}
{{ routine_skill.skill.notation }} {{ routine_skill.skill.difficulty }}
{{ routine_2.routine.difficulty }}
{% else %} No routine defined. {% endif %} {% if routine_2_done_stat.total_succeeded %} {{ routine_2_done_stat.total_succeeded }} | {{ routine_2_done_stat.total_try }} ({% widthratio routine_2_done_stat.total_succeeded routine_2_done_stat.total_try 100 %}%) {% endif %}
Q2 routine 1
{% if routine_3 %} {% for routine_skill in routine_3.routine.skill_links.all %} {% endfor %}
{{ routine_skill.skill.notation }} {{ routine_skill.skill.difficulty }}
{{ routine_3.routine.difficulty }}
{% else %} No routine defined. {% endif %} {% if routine_3_done_stat.total_succeeded %} {{ routine_3_done_stat.total_succeeded }} | {{ routine_3_done_stat.total_try }} ({% widthratio routine_3_done_stat.total_succeeded routine_3_done_stat.total_try 100 %}%) {% endif %}
Semi-final routine
{% if routine_4 %} {% for routine_skill in routine_4.routine.skill_links.all %} {% endfor %}
{{ routine_skill.skill.notation }} {{ routine_skill.skill.difficulty }}
{{ routine_4.routine.difficulty }}
{% else %} No routine defined. {% endif %} {% if routine_4_done_stat.total_succeeded %} {{ routine_4_done_stat.total_succeeded }} | {{ routine_4_done_stat.total_try }} ({% widthratio routine_4_done_stat.total_succeeded routine_4_done_stat.total_try 100 %}%) {% endif %}
Final routine
{% if routine_5 %} {% for routine_skill in routine_5.routine.skill_links.all %} {% endfor %}
{{ routine_skill.skill.notation }} {{ routine_skill.skill.difficulty }}
{{ routine_5.routine.difficulty }}
{% else %} No routine defined. {% endif %} {% if routine_5_done_stat.total_succeeded %} {{ routine_5_done_stat.total_succeeded }} | {{ routine_5_done_stat.total_try }} ({% widthratio routine_5_done_stat.total_succeeded routine_5_done_stat.total_try 100 %}%) {% endif %}
{% endif %}