{% extends 'aircraft/base.html.twig' %} {% block title %} {{ parent() }} - Catégories des avions{% endblock %} {% set aircraft_section_title = 'Gestion des catégories des appareils' %} {% block aircraftContent %} {% if category_aircrafts_chart is defined and category_aircrafts_chart.data.arrayToDataTable %}

Répartition des appareils par catégorie

{% endif %} {# Graph section #}

Liste des classes

{% if is_granted('create', 'aircraft') %} Ajouter une catégorie {% endif %}

Nombre de catégories: {{ category_aircrafts.getTotalItemCount }}

{{ knp_pagination_render(category_aircrafts) }}
{% if is_granted('edit', 'aircraft') or is_granted('edit', 'aircraft') or is_granted('view', 'aircraft') %} {% endif %} {% for category_aircraft in category_aircrafts %} {% if is_granted('edit', 'aircraft') or is_granted('edit', 'aircraft') or is_granted('view', 'aircraft') %} {% endif %} {% else %} {% endfor %}
{{ knp_pagination_sortable(category_aircrafts, 'Id', 'c.id') }} {{ knp_pagination_sortable(category_aircrafts, 'Nom', 'c.name') }} Nombre d'appareilsActions
{{ category_aircraft.id }} {{ category_aircraft.name }} {{ category_aircraft.aircrafts|length }} {% if is_granted('view', 'aircraft') %} {% endif %} {% if is_granted('edit', 'aircraft') %} {% endif %} {% if is_granted('delete', 'aircraft') %} {% include "aircraft/category_aircraft/_delete_form.html.twig" %} {% endif %}
Aucun constructeur trouvé
{% endblock %} {#

Liste des catégories

{% if is_granted('create', 'aircraft') %} Créer une catégorie {% endif %}

Nombre de catégories: {{ category_aircrafts.getTotalItemCount }}

{{ knp_pagination_render(category_aircrafts) }}
{# List section #} {% block javascripts %} {% if category_aircrafts_chart is defined and category_aircrafts_chart.data.arrayToDataTable %} {% endif %} {% endblock %}