{% if app.session.get('_application') == 0 %} {% set extendedTemplate = '@AdminLTE/layout/mesodd-layout.html.twig' %} {% endif %} {% if app.session.get('_application') == 1 %} {% set extendedTemplate = '@AdminLTE/layout/suiodd-layout.html.twig' %} {% endif %} {% if app.session.get('_application') == 2 %} {% set extendedTemplate = '@AdminLTE/layout/cfgodd-layout.html.twig' %} {% endif %} {% extends extendedTemplate %} {% block page_title %}Gestion des désagrégations{% endblock %} {% block page_content %} {% if app.session.get('_application') == 2 and is_granted('ROLE_MANAGER') %}
Ajouter une désagrégation
{% endif %} {% embed '@AdminLTE/Widgets/box-widget.html.twig' %} {% block box_body %} {% if app.session.get('_application') == 2 and is_granted('ROLE_ADMIN') %} {% endif %} {% for desagregation in desagregations %} {% if app.session.get('_application') == 2 and is_granted('ROLE_ADMIN') %} {% endif %} {% endfor %}
{% trans %}basics.code{% endtrans %} {% trans %}basics.name{% endtrans %}
{{ desagregation.id }} {{ desagregation.name }} {% if desagregation.id > 5 %}
{% trans %}basics.update{% endtrans %} {% if is_granted('ROLE_ADMIN') %} {% endif %}
{% endif %}
{% endblock %} {% endembed %} {% endblock %} {% block javascripts %} {% endblock %} {% block stylesheets %} {% endblock %}