From f0fe07aee5e1f4325a9427020b9d3b45653af9c5 Mon Sep 17 00:00:00 2001 From: Gregory Trullemans Date: Tue, 14 Nov 2023 12:00:46 +0100 Subject: [PATCH] =?UTF-8?q?Update=20injury=20d=C3=A9tails?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jarvis/followup/templates/injuries/details.html | 5 ++++- .../gymnasts/tabs/tab_routines_and_routine_stats.html | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/jarvis/followup/templates/injuries/details.html b/jarvis/followup/templates/injuries/details.html index d437c1e..ee3996c 100644 --- a/jarvis/followup/templates/injuries/details.html +++ b/jarvis/followup/templates/injuries/details.html @@ -10,13 +10,16 @@
{{ injury.gymnast }}{% if injury.skill %} injuried on {{ injury.skill.notation }}{% endif %}
- {{ injury.get_mechanism_display }} on {{ injury.get_location_display }} ({{ injury.get_body_side_display }})
+ {{ form.injury_type }} {{ injury.get_mechanism_display }} on {{ injury.get_location_display }} ({{ injury.get_body_side_display }})
{% if injury.nb_week_off %} Gymnast {{ injury.nb_week_off }} week(s) off.
{% endif %}
+ {% if injury.to_markdown %} +
Details
{{ injury.to_markdown | safe }} + {% endif %}