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

{% trans from "Admin" %}Cities 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 Citys|length > 0 %} {% for City in Citys %} {% 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 == 'idCity' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Id'|trans({}, 'Admin') }} {% if sortColumn == 'idCity' %} {% if sortColumn == 'idCity' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'cdCity' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'City Code'|trans({}, 'Admin') }} {% if sortColumn == 'cdCity' %} {% if sortColumn == 'cdCity' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'lbCity' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'City Description'|trans({}, 'Admin') }} {% if sortColumn == 'lbCity' %} {% if sortColumn == 'lbCity' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'idCountry' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Country description'|trans({}, 'Admin') }} {% if sortColumn == 'idCountry' %} {% if sortColumn == 'idCountry' 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 %}{{ 'Create at'|trans({}, 'Admin') }} {% if sortColumn == 'dtCreate' %} {% if sortColumn == 'dtCreate' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'dtUpdate' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Update at'|trans({}, 'Admin') }} {% if sortColumn == 'dtUpdate' %} {% if sortColumn == 'dtUpdate' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'nbGmt' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Time Zone'|trans({}, 'Admin') }} {% if sortColumn == 'nbGmt' %} {% if sortColumn == 'nbGmt' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% trans from "Admingenerator" %}list.header.actions{% endtrans %}
{% block list_td_column_idCity %}{{ City.idCity }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'idCity'!='idHistory' and 'idCity' in assocs|keys and City.idCity is not null %} {% endif %} {% block list_td_column_cdCity %}{{ City.cdCity }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'cdCity'!='idHistory' and 'cdCity' in assocs|keys and City.cdCity is not null %} {% endif %} {% block list_td_column_lbCity %}{{ City.lbCity }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'lbCity'!='idHistory' and 'lbCity' in assocs|keys and City.lbCity is not null %} {% endif %} {% block list_td_column_idCountry %}{{ City.idCountry }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'idCountry'!='idHistory' and 'idCountry' in assocs|keys and City.idCountry is not null %} {% endif %} {% block list_td_column_blDeactivated %} {% if City.blDeactivated %} {% else %} {% endif %}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'blDeactivated'!='idHistory' and 'blDeactivated' in assocs|keys and City.blDeactivated is not null %} {% endif %} {% block list_td_column_dtCreate %}{% if City.dtCreate %} {% set datetime_format = "d/m/Y" %} {{ City.dtCreate|date(datetime_format) }}{% endif %}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'dtCreate'!='idHistory' and 'dtCreate' in assocs|keys and City.dtCreate is not null %} {% endif %} {% block list_td_column_dtUpdate %}{% if City.dtUpdate %} {% set datetime_format = "d/m/Y" %} {{ City.dtUpdate|date(datetime_format) }}{% endif %}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'dtUpdate'!='idHistory' and 'dtUpdate' in assocs|keys and City.dtUpdate is not null %} {% endif %} {% block list_td_column_nbGmt %}{{ City.nbGmt }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'nbGmt'!='idHistory' and 'nbGmt' in assocs|keys and City.nbGmt is not null %} {% endif %}
{% if Citys|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_EQUIPMENT_ADMINISTRATOR")') %} {% endif %} {% endif %} {% endblock %} {% endif %} {% if (isSelect is defined and isSelect==1) or (isMulti is defined and isMulti==1) %} {% endif %} {% endblock %}
{% endblock %}