{% extends "default/datatable.html.twig" %} {% block custom_css %} {{parent()}} {% endblock %} {% block ajout %} {% if app.user.hasright(right_add) %} {{ 'Table.Add' | trans }} {% endif %} {% endblock %} {% block datatable %} {% for d in datas %} {% endfor %}
{{'Table.Geo.Code' | trans}} {{'Table.Geo.Name' | trans}} {{'Table.Geo.Nature' | trans}} {{'Table.Geo.Parent' | trans}} {{'Table.Action' | trans}}
{{ d.id }} {{ d.code }} {{ d.name }} {{ d.ensemble.name }} {% if d.parent is not null %} {{ d.parent.name }} {% endif %} {% if app.user.hasright(right_edit) %} {{'Table.Edit' | trans}} {% endif %} {% if app.user.hasright(right_delete) %} {% endif %}
{% include 'geo/modalEnt.html.twig' %} {% include 'geo/modalImport.html.twig' %} {% endblock %} {% block initialisation %} {{parent()}} {% endblock %} {% block custom_js %} {{parent()}} {% endblock %}