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

{% if gymnast %}{% if gymnast.id in request.session.available_gymnast %}{% endif %}{{ gymnast }}'s {% endif %} Well being list

{% if request.user|has_group:"trainer" %} {% endif %}
{% if wellbeing_list %} {% if not gymnast %} {% endif %} {% for wellbeing in wellbeing_list %} {% if not gymnast %} {% endif %} {% endfor %}
DateGymnastMindstate Sleep Stress Fatigue Muscle soreness
{% if wellbeing.gymnast.id in request.session.available_gymnast %}{% endif %}{{ wellbeing.date | date:"j-n-Y" }} {% if wellbeing.gymnast.id in request.session.available_gymnast %}{% endif %} {{ wellbeing.gymnast }} {% if wellbeing.mindstate < 5%}{% endif %} {{ wellbeing.mindstate }} {% if wellbeing.mindstate < 5%}{% endif %} {% if wellbeing.sleep < 5%}{% endif %} {{ wellbeing.sleep }} {% if wellbeing.sleep < 5%}{% endif %} {% if wellbeing.stress > 5%}{% endif %} {{ wellbeing.stress }} {% if wellbeing.stress > 5%}{% endif %} {% if wellbeing.fatigue > 5%}{% endif %} {{ wellbeing.fatigue }} {% if wellbeing.fatigue > 5%}{% endif %} {% if wellbeing.muscle_soreness > 5%}{% endif %} {{ wellbeing.muscle_soreness }} {% if wellbeing.muscle_soreness > 5%}{% endif %}
{% else %}

There are no well being corresponding to your criterias

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