{% extends "AdmingeneratorGeneratorBundle::base_admin_assetic_less.html.twig" %} {% block stylesheets %} {{ parent() }} {% endblock %} {% block javascripts %} {{ parent() }} {% endblock %} {% block title %} {{ parent() }} - {% trans from "Admin" %}Models list{% endtrans %} {% endblock %} {% block body %} {% block page_title %}

{% trans from "Admin" %}Models list{% endtrans %}

{% endblock %} {{ block('actionsmenu') }}
{% block list_scopes %} {% 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 ComplexModels|length > 0 %} {% for ComplexModel in ComplexModels %} {% if 1 %} {% 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) and (isMulti is not defined or isMulti!=1) %} {% endif %} {% endblock %} {% endif %} {% endfor %} {% endif %} {% endblock %}
{% if sortColumn == 'idComplexModel' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Id'|trans({}, 'Admin') }} {% if sortColumn == 'idComplexModel' %} {% if sortColumn == 'idComplexModel' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'cdComplexModel' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Model Code'|trans({}, 'Admin') }} {% if sortColumn == 'cdComplexModel' %} {% if sortColumn == 'cdComplexModel' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'lbComplexModel' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Model Description'|trans({}, 'Admin') }} {% if sortColumn == 'lbComplexModel' %} {% if sortColumn == 'lbComplexModel' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'urlImage' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Image url'|trans({}, 'Admin') }} {% if sortColumn == 'urlImage' %} {% if sortColumn == 'urlImage' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'oneOffCost' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'One-off cost'|trans({}, 'Admin') }} {% if sortColumn == 'oneOffCost' %} {% if sortColumn == 'oneOffCost' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'recOffCost' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Recurring cost'|trans({}, 'Admin') }} {% if sortColumn == 'recOffCost' %} {% if sortColumn == 'recOffCost' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'blDeactivated' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Active'|trans({}, 'Admin') }} {% if sortColumn == 'blDeactivated' %} {% if sortColumn == 'blDeactivated' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'dtCreate' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Creation date'|trans({}, 'Admin') }} {% if sortColumn == 'dtCreate' %} {% if sortColumn == 'dtCreate' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'dtUpdate' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Update date'|trans({}, 'Admin') }} {% if sortColumn == 'dtUpdate' %} {% if sortColumn == 'dtUpdate' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'dtDeactivated' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Deactivation date'|trans({}, 'Admin') }} {% if sortColumn == 'dtDeactivated' %} {% if sortColumn == 'dtDeactivated' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% trans from "Admingenerator" %}list.header.actions{% endtrans %}
{% block list_td_column_idComplexModel %}{{ ComplexModel.idComplexModel }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'idComplexModel'!='idHistory' and 'idComplexModel' in assocs|keys and ComplexModel.idComplexModel is not null %} {% endif %} {% block list_td_column_cdComplexModel %}{{ ComplexModel.cdComplexModel }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'cdComplexModel'!='idHistory' and 'cdComplexModel' in assocs|keys and ComplexModel.cdComplexModel is not null %} {% endif %} {% block list_td_column_lbComplexModel %}{{ ComplexModel.lbComplexModel }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'lbComplexModel'!='idHistory' and 'lbComplexModel' in assocs|keys and ComplexModel.lbComplexModel is not null %} {% endif %} {% block list_td_column_urlImage %}{{ ComplexModel.urlImage }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'urlImage'!='idHistory' and 'urlImage' in assocs|keys and ComplexModel.urlImage is not null %} {% endif %} {% block list_td_column_oneOffCost %}{{ ComplexModel.oneOffCost|number_format }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'oneOffCost'!='idHistory' and 'oneOffCost' in assocs|keys and ComplexModel.oneOffCost is not null %} {% endif %} {% block list_td_column_recOffCost %}{{ ComplexModel.recOffCost|number_format }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'recOffCost'!='idHistory' and 'recOffCost' in assocs|keys and ComplexModel.recOffCost is not null %} {% endif %} {% block list_td_column_blDeactivated %} {% if ComplexModel.blDeactivated %} {% else %} {% endif %}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'blDeactivated'!='idHistory' and 'blDeactivated' in assocs|keys and ComplexModel.blDeactivated is not null %} {% endif %} {% block list_td_column_dtCreate %}{% if ComplexModel.dtCreate %} {% set datetime_format = "d/m/Y" %} {{ ComplexModel.dtCreate|date(datetime_format) }}{% endif %}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'dtCreate'!='idHistory' and 'dtCreate' in assocs|keys and ComplexModel.dtCreate is not null %} {% endif %} {% block list_td_column_dtUpdate %}{% if ComplexModel.dtUpdate %} {% set datetime_format = "d/m/Y" %} {{ ComplexModel.dtUpdate|date(datetime_format) }}{% endif %}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'dtUpdate'!='idHistory' and 'dtUpdate' in assocs|keys and ComplexModel.dtUpdate is not null %} {% endif %} {% block list_td_column_dtDeactivated %}{% if ComplexModel.dtDeactivated %} {% set datetime_format = "d/m/Y" %} {{ ComplexModel.dtDeactivated|date(datetime_format) }}{% endif %}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'dtDeactivated'!='idHistory' and 'dtDeactivated' in assocs|keys and ComplexModel.dtDeactivated is not null %} {% endif %}
{% if ComplexModels|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_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) and (isMulti is not defined or isMulti!=1) %} {% block list_actions %} {% if isMulti is not defined or isMulti!=1 %} {% if is_expr_granted('hasRole("ROLE_SUPER_ADMINISTRATOR") or hasRole("ROLE_NETWORK_ENGINEER_ADMIN") or hasRole("ROLE_NETWORK_ENGINEER") or hasRole("ROLE_BACKBONE_LINK_ADMINISTRATOR")') %} {% endif %} {% endif %} {% endblock %} {% endif %} {% if (isSelect is defined and isSelect==1) or (isMulti is defined and isMulti==1) %} {% endif %} {% endblock %}
{% endblock %}