{% extends 'base.html.twig' %} {% block title %}Questionnaire joueur {% endblock %} {% block stylesheets %} {{ parent() }} {% endblock %} {% block body %} {% set hideDuJour = 0 %} {{ parent() }} {% if is_granted("ROLE_ENTRAINEUR") %} {% include 'entraineur/chooseTeam.html.twig' %} {% endif %}
Malade
Plus Malade
{#
#} {% if matchAjd or listeEntrainements %}
{% set i = 0 %} {% for matchAjd in hooper %} {% set k = k + 1 %}
{% if is_granted('ROLE_ENTRAINEUR') %}
{% endif %}

Etat de forme {{matchAjd.dateHeure|date('d/m/Y') }}

{# ANCIENNE VERSION #} {#
{% for libelle, select in listeSelectHooper %}
{% endfor %}
#}
{% endfor %} {% for temporalite, entrainements in listeEntrainements %} {% if temporalite == "ajd" or not matchAjd %} {% set i = 0 %} {% for entrainement in entrainements %} {% set k = k + 1 %} {% set i = i + 1 %}
{% if is_granted('ROLE_ENTRAINEUR') %}
{% endif %}
{% if entrainement %}
{% if entrainement.isInstant == 0 and temporalite == "ajd" %} {% set dateHeure = entrainement.dateHeure|date("d/m/Y - H:i") %} {% if hideDuJour == 0 %} {% set hideDuJour = 1 %}

Entraînement du jour

{% endif %} {% if entrainement.lieu == "En salle" %}

Musculation

{{ dateHeure }}

{% else %}

Rugby

{{ dateHeure }}

{% endif %} {% else %} {% set dateHeure = "" %}

Etat de forme

{% endif %} {% if entrainement.document %}
Document de séance
{% endif %} {% if entrainement.isInstant == 0 and temporalite == "ajd" %} Votre charge d'entraînement prévue est de {{ entrainement.chargeEntrainement }}. {% if entrainement.listeExercice %} {% if not isMobile %}

Ne vous inquiétez pas, une fois qu'une ligne est complétée, les données sont sauvegardées.

{% for circuit, exercices in entrainement.listeExercice %} {% set infosCircuit = exercices[0]["infosCircuit"] %} {% if infosCircuit %} {% set enchainement = infosCircuit["enchainement"] %} {% set commentaire = infosCircuit["commentaire"] %} {% else %} {% set enchainement = 0 %} {% set commentaire = 0 %} {% endif %} {% for exercice in exercices %} {% if exercice.listeFichier %} {% endif %} {% endfor %} {% endfor %}
Exercice Uni / bi Nombre de sets demandés Nombre de répétitions demandées Nombre de séries demandées Pourcentage demandé Illustration de l'exercice Nombre de répétitions effectuées Nombre de séries effectuées Poids moyen utilisé Temps de repos entre chaque séries Temps de repos après la dernière série Exercice de récupération Commentaire
{% if enchainement %}

Circuit {{ circuit }}

{% else %}

Exercices

{% endif %} {% if commentaire %}

Commentaire : {{ commentaire }}

{% endif %}
{{ exercice.libelle }} {{ exercice.uni_bi }} {{ exercice.nbr_set }} {{ exercice.nbReps }} {{ exercice.nbSeries }} {{ exercice.valueExercice }} {% for fichier in exercice.listeFichier %} {% if fichier matches '/\.(mp4|avi|mov|wmv|flv|mkv|webm|mpeg|mpg|m4v|3gp|ogv|ts|f4v|mxf|vob|rm|rmvb|divx)$/i' %} {% else %} {{ fichier }} {% endif %} {% endfor %} {% else %} Il n'y a pas d'illustration {{ exercice.repos }} {{ exercice.reposEnd }} {% if exercice.exoRepos %} {{ exercice.exoRepos }}{% else %}Aucun {% endif %} {% if exercice.commentaire %} {{ exercice.commentaire }}{% else %}Aucun {% endif %}
{% else %}
{% for circuit, exercices in entrainement.listeExercice %}
{% if exercices[0]["infosCircuit"] %} {% if exercices[0]["infosCircuit"]["commentaire"] %}

Commentaire : {{ exercices[0]["infosCircuit"]["commentaire"] }}

{% endif %} {% endif %} {% set i = 1 %} {% for exercice in exercices %}
{% include 'default/exercice.html.twig' with { 'exercice': exercice, 'entrainement': entrainement } %}
{% set i = i + 1 %} {% endfor %}
{% endfor %}
{% endif %} {% endif %} {% endif %}
{% for label, select in listeSelectEntrainement[temporalite] %}
{% endfor %}
{% endif %}
{% endfor %} {% endif %} {% endfor %}
{% endif %}
{% if not listeEntrainements and not hooper %}

Vous n'avez plus aucun questionnaire aujourd'hui.

{% endif %}
{% endblock %} {% block javascripts %} {{ parent() }} {% endblock %}