{% extends "AdmingeneratorGeneratorBundle::base_admin_assetic_less.html.twig" %} {% block stylesheets %} {{ parent() }} {% endblock %} {% block javascripts %} {{ parent() }} {% endblock %} {% block title %} {{ parent() }}{% trans from "Admin" %}Liste des Groupes{% endtrans %} {% endblock %} {% block body %}{{ block('actionsmenu') }}
{% block list_scopes %} {% endblock %} {% block list_nbresults %}
{% set count = Groupess.nbResults %} {% set start = ( Groupess.currentPage - 1 ) * Groupess.maxPerPage + 1 %} {% set end = start + Groupess.maxPerPage - 1 %} {% set end = end > count ? count : end %} {% if Groupess.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 Groupess|length > 0 %} {% for Groupes in Groupess %} {% 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 groupe'|trans({}, 'Admin') }} {% if sortColumn == 'lib' %} {% if sortColumn == 'lib' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'cde' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Code du groupe'|trans({}, 'Admin') }} {% if sortColumn == 'cde' %} {% if sortColumn == 'cde' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'typeannee' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Année de type'|trans({}, 'Admin') }} {% if sortColumn == 'typeannee' %} {% if sortColumn == 'typeannee' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'datedebut' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Date de début'|trans({}, 'Admin') }} {% if sortColumn == 'datedebut' %} {% if sortColumn == 'datedebut' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'datefin' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Date de fin'|trans({}, 'Admin') }} {% if sortColumn == 'datefin' %} {% if sortColumn == 'datefin' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'nbrheure' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Nombre d\'heures'|trans({}, 'Admin') }} {% if sortColumn == 'nbrheure' %} {% if sortColumn == 'nbrheure' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'idCentres' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Nom du centre'|trans({}, 'Admin') }} {% if sortColumn == 'idCentres' %} {% if sortColumn == 'idCentres' 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 Groupes.lib is not null %} {% set idfield = attribute(Groupes.lib,assocs['lib'].refid) %} {% endif %} {% block list_td_column_lib %}{{ Groupes.lib }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'lib' in assocs|keys and Groupes.lib is not null %} {% endif %} {% if (isSelect is not defined or isSelect!=1) and 'cde' in assocs|keys and Groupes.cde is not null %} {% set idfield = attribute(Groupes.cde,assocs['cde'].refid) %} {% endif %} {% block list_td_column_cde %}{{ Groupes.cde }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'cde' in assocs|keys and Groupes.cde is not null %} {% endif %} {% if (isSelect is not defined or isSelect!=1) and 'typeannee' in assocs|keys and Groupes.typeannee is not null %} {% set idfield = attribute(Groupes.typeannee,assocs['typeannee'].refid) %} {% endif %} {% block list_td_column_typeannee %}{{ Groupes.typeannee }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'typeannee' in assocs|keys and Groupes.typeannee is not null %} {% endif %} {% if (isSelect is not defined or isSelect!=1) and 'datedebut' in assocs|keys and Groupes.datedebut is not null %} {% set idfield = attribute(Groupes.datedebut,assocs['datedebut'].refid) %} {% endif %} {% block list_td_column_datedebut %}{% if Groupes.datedebut %} {% set datetime_format = "d/m/Y" %} {{ Groupes.datedebut|date(datetime_format) }}{% endif %}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'datedebut' in assocs|keys and Groupes.datedebut is not null %} {% endif %} {% if (isSelect is not defined or isSelect!=1) and 'datefin' in assocs|keys and Groupes.datefin is not null %} {% set idfield = attribute(Groupes.datefin,assocs['datefin'].refid) %} {% endif %} {% block list_td_column_datefin %}{% if Groupes.datefin %} {% set datetime_format = "d/m/Y" %} {{ Groupes.datefin|date(datetime_format) }}{% endif %}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'datefin' in assocs|keys and Groupes.datefin is not null %} {% endif %} {% if (isSelect is not defined or isSelect!=1) and 'nbrheure' in assocs|keys and Groupes.nbrheure is not null %} {% set idfield = attribute(Groupes.nbrheure,assocs['nbrheure'].refid) %} {% endif %} {% block list_td_column_nbrheure %}{{ Groupes.nbrheure }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'nbrheure' in assocs|keys and Groupes.nbrheure is not null %} {% endif %} {% if (isSelect is not defined or isSelect!=1) and 'idCentres' in assocs|keys and Groupes.idCentres is not null %} {% set idfield = attribute(Groupes.idCentres,assocs['idCentres'].refid) %} {% endif %} {% block list_td_column_idCentres %}{{ Groupes.idCentres }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'idCentres' in assocs|keys and Groupes.idCentres is not null %} {% endif %}
{% trans from "Admingenerator" %}list.no.results{% endtrans %}
{% if Groupess|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 %}