{% extends 'base.html.twig' %} {% block title %} {% trans %}COSAP - Séances de travail{% endtrans %} {% endblock %} {% block body %} {{ parent() }} {% if action == "edit" or action == "add" %}
{% if action == "add" %} {% trans %}Nouvel{% endtrans %} {% else %} {% trans %}Modifier{% endtrans %} {% endif %} {% trans %}Enregistrement{% endtrans %}
{{ include('HoraireAdministratif/seanceTravail/action.html.twig') }}
{% endif %}
{% trans %}Séances de travail{% endtrans %} {{ seancesTravail.getTotalItemCount }}
{% if app.user and is_granted('ROLE_AJOUTER_SEANCE_TRAVAIL') %} {% trans %}nouvel séance{% endtrans %} {% endif %}
{% if not seancesTravail|length %} {% else %}
{% if app.user and (is_granted('ROLE_MODIFIER_SEANCE_TRAVAIL') or is_granted('ROLE_SUPPRIMER_SEANCE_TRAVAIL')) %} {% endif %} {% for seance in seancesTravail %} {% if app.user and (is_granted('ROLE_MODIFIER_SEANCE_TRAVAIL') or is_granted('ROLE_SUPPRIMER_SEANCE_TRAVAIL')) %} {% endif %} {% endfor %}
{% trans %}Label{% endtrans %} {% trans %}Type de séance{% endtrans %} {% trans %}Période{% endtrans %} {% trans %}Priorité{% endtrans %}{% trans %}Actions{% endtrans %}
{{ seance.label }} {% if seance.type is not null %} {{ seance.typeValue }}{% endif %} {{ seance.dateDebut|localizeddate('none', 'none', null, null, 'd MMMM') }} - {{ seance.dateFin|localizeddate('none', 'none', null, null, 'd MMMM') }} {{ seance.priorite }} {% if app.user and is_granted('ROLE_MODIFIER_SEANCE_TRAVAIL') %} {% endif %} {% if app.user and is_granted('ROLE_SUPPRIMER_SEANCE_TRAVAIL') %} {% endif %}
{% endif %}
{% endblock %} {% block javascripts %} {{ parent() }} {% include('HoraireAdministratif/seanceTravail/ajax/delete.html.twig') %} {% include('HoraireAdministratif/seanceTravail/ajax/checkDate.html.twig') %} {% endblock %}