Update injury details

This commit is contained in:
Gregory Trullemans 2024-01-31 09:21:09 +01:00
parent cfeaab840f
commit 0a4532b955
1 changed files with 2 additions and 2 deletions

View File

@ -9,9 +9,9 @@
<h4 class="mb-0"><a href="{% url 'gymnast_details_tab' injury.gymnast.id 'physiological' %}">{{ injury.gymnast }}</a> injuried on {{ injury.date | date:"j N Y" }}</h4>
</div>
<div class="card-body pb-0">
{{ form.injury_type }} {{ injury.get_mechanism_display }} at {{ injury.get_location_display }} ({{ injury.get_body_side_display }}) {% if injury.skill %} injuried on <i>{{ injury.skill.notation }}</i>{% endif %}<br />
{{ form.injury_type }} {{ injury.get_mechanism_display }} at {{ injury.get_location_display }} ({{ injury.get_body_side_display }}) {% if injury.skill %} injuried on {{ injury.skill.notation }} {% endif %}<br />
{% if injury.nb_week_off %}
Gymnast {{ injury.nb_week_off }} week(s) off.<br />
Gymnast is {{ injury.nb_week_off }} week{% if injury.nb_week_off > 1 %}s{% endif %} off.<br />
{% endif %}
{% if injury.to_markdown %}
<br />