{% extends "AdmingeneratorGeneratorBundle::base_admin_assetic_less.html.twig" %} {% block stylesheets %} {{ parent() }} {% endblock %} {% block javascripts %} {{ parent() }} {% endblock %} {% block title %} {{ parent() }}{% trans from "Admin" %}Liste des Centres{% endtrans %} {% endblock %} {% block body %}{{ block('actionsmenu') }}
{% block list_scopes %} {% endblock %} {% block list_nbresults %}
{% set count = Centress.nbResults %} {% set start = ( Centress.currentPage - 1 ) * Centress.maxPerPage + 1 %} {% set end = start + Centress.maxPerPage - 1 %} {% set end = end > count ? count : end %} {% if Centress.haveToPaginate %} {% trans with {'%start%': start,'%end%': end,'%count%': count,} from "Admingenerator" %}list.display.range{% endtrans %} {% elseif count > 0 %} {% trans with {'%count%': count,} from "Admingenerator" %}list.display.all{% endtrans %} {% endif %}
{% endblock %} {% block form_batch_actions %} {% endblock %} {% block list_thead %} {% if isSelect is not defined or isSelect!=1 %} {% endif %} {% if isMulti is defined and isMulti==1 %} {% endif %} {% if isSelect is not defined or isSelect!=1 %} {% endif %} {% endblock %} {% block list_tbody %} {% if Centress|length > 0 %} {% for Centres in Centress %} {% set oddclass=(loop.index0 % 2 == 0 ?'ginaodd':'ginaeven') %}{% block list_row %} {% if isSelect is not defined or isSelect!=1 %} {% endif %} {% if isMulti is defined and isMulti==1 %} {% endif %} {% endblock %} {% block list_object_actions %} {% if isSelect is not defined or isSelect!=1 %} {% endif %} {% endblock %} {% endfor %} {% else %} {% endif %} {% if isSelect is defined and isSelect==1 %} {% endif %} {% endblock %}
{% if sortColumn == 'lib' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Nom du Centre'|trans({}, 'Admin') }} {% if sortColumn == 'lib' %} {% if sortColumn == 'lib' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'adrville' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Ville'|trans({}, 'Admin') }} {% if sortColumn == 'adrville' %} {% if sortColumn == 'adrville' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% trans from "Admingenerator" %}list.header.actions{% endtrans %}
{% if (isSelect is not defined or isSelect!=1) and 'lib' in assocs|keys and Centres.lib is not null %} {% set idfield = attribute(Centres.lib,assocs['lib'].refid) %} {% endif %} {% block list_td_column_lib %}{{ Centres.lib }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'lib' in assocs|keys and Centres.lib is not null %} {% endif %} {% if (isSelect is not defined or isSelect!=1) and 'adrville' in assocs|keys and Centres.adrville is not null %} {% set idfield = attribute(Centres.adrville,assocs['adrville'].refid) %} {% endif %} {% block list_td_column_adrville %}{{ Centres.adrville }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'adrville' in assocs|keys and Centres.adrville is not null %} {% endif %}
{% trans from "Admingenerator" %}list.no.results{% endtrans %}
{% if Centress|length == 0 %}
{% trans from "Admingenerator" %}list.no.results{% endtrans %}
{% endif %}
{% block list_batch_actions %} {% if isMulti is defined and isMulti==1 %}
{% endif %} {% endblock %} {% block list_actions %} {% if isMulti is not defined or isMulti!=1 %} {% trans from "Admingenerator" %}action.generic.new{% endtrans %} {% endif %} {% endblock %}
{% block list_paginator %} {% endblock %}
{% block endform_batch_actions %} {% endblock %}
{% block filters %} {% endblock %} {% block preferences %} {% endblock %} {% endblock %} {% block actionsmenu %}
{% block contentactionsmenu %} {% if isSelect is not defined or isSelect!=1 %} {% endif %} {% endblock %}
{% endblock %}