From 270ef34582094f641cdddafb2d12bc1e233ccc8f Mon Sep 17 00:00:00 2001 From: Gregory Trullemans Date: Tue, 14 May 2024 15:20:17 +0200 Subject: [PATCH] Minor update --- .../tabs/tab_intensity_chronos_programs.html | 90 +++++++++---------- .../templates/gymnasts/tabs/tab_skills.html | 3 +- 2 files changed, 46 insertions(+), 47 deletions(-) diff --git a/jarvis/people/templates/gymnasts/tabs/tab_intensity_chronos_programs.html b/jarvis/people/templates/gymnasts/tabs/tab_intensity_chronos_programs.html index bed51d5..976d3de 100644 --- a/jarvis/people/templates/gymnasts/tabs/tab_intensity_chronos_programs.html +++ b/jarvis/people/templates/gymnasts/tabs/tab_intensity_chronos_programs.html @@ -4,40 +4,57 @@
-
-

Intensity statistics

+
+
+

Intensity statistics

+
+
+

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

+
-
+
{% if intensity_list %}
{% else %}

No intensity recorded for this gymnast.

{% endif %}
-
-
-

Chronos

+
+
+

Chronos

+
+
+

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

+
{% if chrono_list %} @@ -47,29 +64,12 @@ {% endif %}
diff --git a/jarvis/people/templates/gymnasts/tabs/tab_skills.html b/jarvis/people/templates/gymnasts/tabs/tab_skills.html index 5d7feee..91e7933 100644 --- a/jarvis/people/templates/gymnasts/tabs/tab_skills.html +++ b/jarvis/people/templates/gymnasts/tabs/tab_skills.html @@ -589,8 +589,7 @@ type: 'POST', context: $(this), success: function (response) { - // avec reload (data à jour) - // location.reload(); + // location.reload(); // avec reload (data à jour) // sans relaod des datas (data pas totalement à jour) $(this).closest('tr').fadeTo("slow", 0.0, function(){