{% extends '00_bases/base-edit-seance.html.twig' %} {% block title %}Keep'IT Training - Séance {{seance.date|date('d M') }}{% endblock %} {% block bodyModifier %}-full{% endblock %} {% block stimulusModifier %}data-controller="planning--showSeance"{% endblock %} {% block shead %}
{# Logo KeepIt #}
{# Logo Club #}
{% include("00_commons/club.html.twig") %}
{# SAISON #} {# Navigation Globale #}
{#
#}
{% endblock %} {% block body %}
{{ seance.date|format_datetime(pattern='EEEE dd LLLL')|title }}
{{ seance.heure|date('H:i') }}
{% if seance.stade %} {{ seance.stade.nom }} {% endif %}
{% if seance.themes != null %}
{% for theme in seance.themes %}
{{ theme.nom|capitalize }}
{% endfor %}
{% endif %}
Objectif : {{seance.objectif}}
TOTAL
{% if seance.exercices|length > 0 %} {# Affiche les exercices dans l'ordre défini en base #} {% for exercice in seance.exercices|sort((a, b) => a.numero <=> b.numero) %} {% if exercice is defined and exercice.idExercice is not null %}
{{ exercice.numero }}
{% endif %} {% endfor %} {% endif %}
{#
#}
{% set i = 1 %} {# Affiche les exercices dans l'numero défini en base #} {% for exercice in seance.exercices|sort((a, b) => a.numero <=> b.numero) %} {% if exercice is defined and exercice.idExercice is not null %}
{# NUMERO #}

{{ exercice.numero }}

{# CHRONO #}
{{exercice.dureeTotal}} {% set dureeExercice = (exercice.dureeMinutes * 60) + (exercice.dureeSecondes) %}
{# CATEGORIES #}
{% if exercice.hierarchy is defined and exercice.hierarchy is not empty %} {% for hierarchy in exercice.hierarchy %}
{{ hierarchy|capitalize }}
{% endfor %} {% endif %}
{# VISUEL #} {# TITRE #}
{# on affiche le symbole groupe pour impression en noir et blanc devant le titre #} {% if exercice.isGroupe == true %} - {% endif %} {{ exercice.nomExercice }}
{# CONSIGNES #}
{# TITRE CONSIGNE #}
Consigne
{{ exercice.consigne|raw }}
{# POINT DE VIGILANCE #}
Volume

{{ exercice.volume|nl2br }}

{#
Point de Vigilance

{{ exercice.pointVigilance|nl2br }}

#}
{% if not loop.last %}

{% endif %} {% endif %} {% set i = i + 1 %} {% endfor %}
séance N° : {{ seance.numero }}
{{ seance.typeEvenement.nom }}
{% include ('seance/_fragments/tab-generalites.html.twig') %}
{% include ('seance/_fragments/tab-materiels.html.twig') %}
{# {% include ('seance/_fragments/tab-generalites.html.twig') %} #}
{% endblock %}