{% extends "AdmingeneratorGeneratorBundle::base_admin_assetic_less.html.twig" %} {% block stylesheets %} {{ parent() }} {% endblock %} {% block javascripts %} {{ parent() }} {% endblock %} {% block title %} {{ parent() }}{% trans from "Admin" %}Liste des formations{% endtrans %} {% endblock %} {% block body %}{{ block('actionsmenu') }}
{% block list_scopes %} {% endblock %} {% block list_nbresults %}
{% set count = Formationss.nbResults %} {% set start = ( Formationss.currentPage - 1 ) * Formationss.maxPerPage + 1 %} {% set end = start + Formationss.maxPerPage - 1 %} {% set end = end > count ? count : end %} {% if Formationss.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 Formationss|length > 0 %} {% for Formations in Formationss %} {% 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 de la formation'|trans({}, 'Admin') }} {% if sortColumn == 'lib' %} {% if sortColumn == 'lib' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'opt' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Option'|trans({}, 'Admin') }} {% if sortColumn == 'opt' %} {% if sortColumn == 'opt' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'tarif' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Montant CS'|trans({}, 'Admin') }} {% if sortColumn == 'tarif' %} {% if sortColumn == 'tarif' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'droitinscr' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Droit d\'inscription'|trans({}, 'Admin') }} {% if sortColumn == 'droitinscr' %} {% if sortColumn == 'droitinscr' 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 Formations.lib is not null %} {% set idfield = attribute(Formations.lib,assocs['lib'].refid) %} {% endif %} {% block list_td_column_lib %}{{ Formations.lib }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'lib' in assocs|keys and Formations.lib is not null %} {% endif %} {% if (isSelect is not defined or isSelect!=1) and 'opt' in assocs|keys and Formations.opt is not null %} {% set idfield = attribute(Formations.opt,assocs['opt'].refid) %} {% endif %} {% block list_td_column_opt %}{{ Formations.opt }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'opt' in assocs|keys and Formations.opt is not null %} {% endif %} {% if (isSelect is not defined or isSelect!=1) and 'tarif' in assocs|keys and Formations.tarif is not null %} {% set idfield = attribute(Formations.tarif,assocs['tarif'].refid) %} {% endif %} {% block list_td_column_tarif %}{{ Formations.tarif }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'tarif' in assocs|keys and Formations.tarif is not null %} {% endif %} {% if (isSelect is not defined or isSelect!=1) and 'droitinscr' in assocs|keys and Formations.droitinscr is not null %} {% set idfield = attribute(Formations.droitinscr,assocs['droitinscr'].refid) %} {% endif %} {% block list_td_column_droitinscr %}{{ Formations.droitinscr }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'droitinscr' in assocs|keys and Formations.droitinscr is not null %} {% endif %}
{% trans from "Admingenerator" %}list.no.results{% endtrans %}
{% if Formationss|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 %} {% if is_expr_granted('hasRole("ROLE_ADMIN") or hasRole("ROLE_COMPTABILITE")') %} {% trans from "Admingenerator" %}action.generic.new{% endtrans %} {% endif %} {% 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 %}