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

{% trans from "Admin" %}Pops 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 Pops|length > 0 %} {% for Pop in Pops %} {% 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 == 'idPop' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Id'|trans({}, 'Admin') }} {% if sortColumn == 'idPop' %} {% if sortColumn == 'idPop' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'cdPop' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Pop Code'|trans({}, 'Admin') }} {% if sortColumn == 'cdPop' %} {% if sortColumn == 'cdPop' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'lbPop' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Pop Description'|trans({}, 'Admin') }} {% if sortColumn == 'lbPop' %} {% if sortColumn == 'lbPop' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'idPopType' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Pop type'|trans({}, 'Admin') }} {% if sortColumn == 'idPopType' %} {% if sortColumn == 'idPopType' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'idContact' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Contact'|trans({}, 'Admin') }} {% if sortColumn == 'idContact' %} {% if sortColumn == 'idContact' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'idBranch' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Branch ref'|trans({}, 'Admin') }} {% if sortColumn == 'idBranch' %} {% if sortColumn == 'idBranch' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'idAccess' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Access'|trans({}, 'Admin') }} {% if sortColumn == 'idAccess' %} {% if sortColumn == 'idAccess' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'idHousingProvider' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Housing Provider name'|trans({}, 'Admin') }} {% if sortColumn == 'idHousingProvider' %} {% if sortColumn == 'idHousingProvider' 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 == 'dtDeactivated' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Deactivation date'|trans({}, 'Admin') }} {% if sortColumn == 'dtDeactivated' %} {% if sortColumn == 'dtDeactivated' 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 %} {% trans from "Admingenerator" %}list.header.actions{% endtrans %}
{% block list_td_column_idPop %}{{ Pop.idPop }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'idPop'!='idHistory' and 'idPop' in assocs|keys and Pop.idPop is not null %} {% endif %} {% block list_td_column_cdPop %}{{ Pop.cdPop }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'cdPop'!='idHistory' and 'cdPop' in assocs|keys and Pop.cdPop is not null %} {% endif %} {% block list_td_column_lbPop %}{{ Pop.lbPop }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'lbPop'!='idHistory' and 'lbPop' in assocs|keys and Pop.lbPop is not null %} {% endif %} {% block list_td_column_idPopType %}{{ Pop.idPopType }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'idPopType'!='idHistory' and 'idPopType' in assocs|keys and Pop.idPopType is not null %} {% endif %} {% block list_td_column_idContact %}{{ Pop.idContact }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'idContact'!='idHistory' and 'idContact' in assocs|keys and Pop.idContact is not null %} {% endif %} {% block list_td_column_idBranch %}{{ Pop.idBranch }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'idBranch'!='idHistory' and 'idBranch' in assocs|keys and Pop.idBranch is not null %} {% endif %} {% block list_td_column_idAccess %}{{ Pop.idAccess }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'idAccess'!='idHistory' and 'idAccess' in assocs|keys and Pop.idAccess is not null %} {% endif %} {% block list_td_column_idHousingProvider %}{{ Pop.idHousingProvider }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'idHousingProvider'!='idHistory' and 'idHousingProvider' in assocs|keys and Pop.idHousingProvider is not null %} {% endif %} {% block list_td_column_blDeactivated %} {% if Pop.blDeactivated %} {% else %} {% endif %}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'blDeactivated'!='idHistory' and 'blDeactivated' in assocs|keys and Pop.blDeactivated is not null %} {% endif %} {% block list_td_column_dtDeactivated %}{% if Pop.dtDeactivated %} {% set datetime_format = "d/m/Y" %} {{ Pop.dtDeactivated|date(datetime_format) }}{% endif %}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'dtDeactivated'!='idHistory' and 'dtDeactivated' in assocs|keys and Pop.dtDeactivated is not null %} {% endif %} {% block list_td_column_dtCreate %}{% if Pop.dtCreate %} {% set datetime_format = "d/m/Y" %} {{ Pop.dtCreate|date(datetime_format) }}{% endif %}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'dtCreate'!='idHistory' and 'dtCreate' in assocs|keys and Pop.dtCreate is not null %} {% endif %} {% block list_td_column_dtUpdate %}{% if Pop.dtUpdate %} {% set datetime_format = "d/m/Y" %} {{ Pop.dtUpdate|date(datetime_format) }}{% endif %}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'dtUpdate'!='idHistory' and 'dtUpdate' in assocs|keys and Pop.dtUpdate is not null %} {% endif %}
{% if Pops|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 %}