From 8915a390f3e14e8b305b98aa3be989e1bfda928a Mon Sep 17 00:00:00 2001 From: Gregory Trullemans Date: Tue, 14 May 2024 12:18:46 +0200 Subject: [PATCH] Minor update --- .../tab_height_weight_wellbeing_injury.html | 2 +- .../gymnasts/tabs/tab_routines_scores.html | 94 ++++++++----------- .../templates/gymnasts/tabs/tab_skills.html | 50 +++++----- 3 files changed, 68 insertions(+), 78 deletions(-) diff --git a/jarvis/people/templates/gymnasts/tabs/tab_height_weight_wellbeing_injury.html b/jarvis/people/templates/gymnasts/tabs/tab_height_weight_wellbeing_injury.html index 9388771..5fa9aa6 100644 --- a/jarvis/people/templates/gymnasts/tabs/tab_height_weight_wellbeing_injury.html +++ b/jarvis/people/templates/gymnasts/tabs/tab_height_weight_wellbeing_injury.html @@ -81,7 +81,7 @@ -
+
{% if injury_list %} diff --git a/jarvis/people/templates/gymnasts/tabs/tab_routines_scores.html b/jarvis/people/templates/gymnasts/tabs/tab_routines_scores.html index 028020d..acbf84e 100644 --- a/jarvis/people/templates/gymnasts/tabs/tab_routines_scores.html +++ b/jarvis/people/templates/gymnasts/tabs/tab_routines_scores.html @@ -4,42 +4,58 @@
-
-

Scores

+
+
+

Scores

+
+
+

+ {% if score_list %} + + + + {% endif %} +   + {% if request.user|has_group:"trainer" or request.user|is_user_equal_to_gymnast:gymnast_id %} + + + + {% endif %} +

+
-
+
{% if score_list %}
{% else %}

No score recorded for this gymnast.

{% endif %}
- -
-
-

Routine's statistics

+
+
+

Routine's statistics

+
+
+

+ {% if routine_one_done_list or routine_two_done_list %} + + + + {% endif %} + + {% if request.user|has_group:"trainer" or request.user|is_user_equal_to_gymnast:gymnast_id %} + + + + {% endif %} +

+
-
+
{% if routine_one_done_list or routine_two_done_list %}
{% else %} @@ -84,23 +100,6 @@ {% endif %}
{% endif %} -
- {% if routine_one_done_list or routine_two_done_list %} - - - - {% endif %} - - {% if request.user|has_group:"trainer" or request.user|is_user_equal_to_gymnast:gymnast_id %} - - - - {% endif %} -
@@ -128,11 +127,9 @@ {% endif %} - -
-
+
{% if ghr_list %}
@@ -171,17 +168,11 @@