{% extends 'aircraft/base.html.twig' %} {% block title %} {{ parent() }} - Motorisation{% endblock %} {% set aircraft_section_title = 'Gestion des motorisation d\'appareils' %} {% block aircraftContent %} {% if engine_type_aircrafts_chart is defined and engine_type_aircrafts_chart.data.arrayToDataTable %}

Répartition des appareils en fonction du type de motorisation

{% endif %} {# Graph section #}

Liste des types de motorisation

{% if is_granted('create', 'aircraft') %} Ajouter un type de motorisation {% endif %}

Nombre de types de motorisation: {{ engine_type_aircrafts.getTotalItemCount }}

{{ knp_pagination_render(engine_type_aircrafts) }}
{% if is_granted('edit', 'aircraft') or is_granted('edit', 'aircraft') or is_granted('view', 'aircraft') %} {% endif %} {% for engine_type_aircraft in engine_type_aircrafts %} {% if is_granted('edit', 'aircraft') or is_granted('edit', 'aircraft') or is_granted('view', 'aircraft') %} {% endif %} {% endfor %}
{{ knp_pagination_sortable(engine_type_aircrafts, 'Id', 'aircraft_manu.id') }} {{ knp_pagination_sortable(engine_type_aircrafts, 'Nom', 'aircraft_manu.name') }} Nombre d'appareilsactions
{{ engine_type_aircraft.id }} {{ engine_type_aircraft.name }} {{ engine_type_aircraft.aircrafts|length }} {% if is_granted('view', 'aircraft') %} {% endif %} {% if is_granted('edit', 'aircraft') %} {% endif %} {% if is_granted('delete', 'aircraft') %} {% include "aircraft/engine_type_aircraft/_delete_form.html.twig" %} {% endif %}
{# List section #} {% endblock %} {% block javascripts %} {% if engine_type_aircrafts_chart is defined and engine_type_aircrafts_chart.data.arrayToDataTable %} {% endif %} {% endblock %} {# Used for display graph #}