{% 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 %}{% trans %}indicator.title{% endtrans %}{% endblock %} {% block page_content %} {% if app.session.get('_application') == 2 and is_granted('ROLE_MANAGER') %}
{% endif %} {% embed '@AdminLTE/Widgets/box-widget.html.twig' %} {% block box_body %}| {% trans %}basics.code{% endtrans %} | {% trans %}basics.name{% endtrans %} | {% trans %}basics.target{% endtrans %} | Indicateur ODD correspondant | {% if app.session.get('_application') == 2 and is_granted('ROLE_MANAGER') %}{% endif %} |
|---|---|---|---|---|
| {{ indicator.code }} | {{ indicator.name }} | {{ indicator.cible.name }} | {{ indicator.indicateur2030 ? indicator.indicateur2030.code : '' }}- {{ indicator.indicateur2030 ? indicator.indicateur2030.name : '' }} | {% if app.session.get('_application') == 2 and is_granted('ROLE_ADMIN') %}
{% trans %}basics.update{% endtrans %}
{% if is_granted('ROLE_ADMIN') %}
|
{% endif %}