{% extends "listing.html" %} {% block datacontent %}

{% if gymnast %} {% if gymnast.id in request.session.available_gymnast or request.user.is_superuser %} {% endif %} {{ gymnast }} {% if gymnast.id in request.session.available_gymnast or request.user.is_superuser %} {% endif %}'s {% endif %} injuries

{% if injury_list %} {% if not gymnast %} {% endif %} {% for injury in injury_list %} {% if not gymnast %} {% endif %} {% endfor %}
DateGymnastMechanism Location Side Skill # Week off
{{ injury.date | date:"j-n-Y" }} {% if injury.gymnast.id in request.session.available_gymnast or request.user.is_superuser %} {% endif %} {{ injury.gymnast }} {% if injury.gymnast.id in request.session.available_gymnast or request.user.is_superuser %} {% endif %} {{ injury.get_mechanism_display }} {{ injury.get_location_display }} {{ injury.get_body_side_display }} {% if injury.skill %} {{ injury.skill.notation }} {% else %} - {% endif %} {% if injury.nb_week_off %} {{ injury.nb_week_off }} {% else %} - {% endif %}
{% else %}

There are no injury corresponding to your criterias.

{% endif %}
{% endblock %} {% block footerscript %} {% endblock %}