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

{% trans from "Admin" %}Ports 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 Ports|length > 0 %} {% for Port in Ports %} {% 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 == 'idPort' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Id'|trans({}, 'Admin') }} {% if sortColumn == 'idPort' %} {% if sortColumn == 'idPort' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'cdPort' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Port Code'|trans({}, 'Admin') }} {% if sortColumn == 'cdPort' %} {% if sortColumn == 'cdPort' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'lbPort' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Port Description'|trans({}, 'Admin') }} {% if sortColumn == 'lbPort' %} {% if sortColumn == 'lbPort' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'blLinkHa' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Link To Other Ports HA'|trans({}, 'Admin') }} {% if sortColumn == 'blLinkHa' %} {% if sortColumn == 'blLinkHa' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'blFull' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Full Duplex'|trans({}, 'Admin') }} {% if sortColumn == 'blFull' %} {% if sortColumn == 'blFull' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'idPortType' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Port Type'|trans({}, 'Admin') }} {% if sortColumn == 'idPortType' %} {% if sortColumn == 'idPortType' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'idPortSubType' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Port Subtype'|trans({}, 'Admin') }} {% if sortColumn == 'idPortSubType' %} {% if sortColumn == 'idPortSubType' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'idSfpModuleType' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Sfp Module Type'|trans({}, 'Admin') }} {% if sortColumn == 'idSfpModuleType' %} {% if sortColumn == 'idSfpModuleType' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'nbTimeslots' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Number of timeslots'|trans({}, 'Admin') }} {% if sortColumn == 'nbTimeslots' %} {% if sortColumn == 'nbTimeslots' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'nbChannels' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Number of channels'|trans({}, 'Admin') }} {% if sortColumn == 'nbChannels' %} {% if sortColumn == 'nbChannels' 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_idPort %}{{ Port.idPort }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'idPort'!='idHistory' and 'idPort' in assocs|keys and Port.idPort is not null %} {% endif %} {% block list_td_column_cdPort %}{{ Port.cdPort }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'cdPort'!='idHistory' and 'cdPort' in assocs|keys and Port.cdPort is not null %} {% endif %} {% block list_td_column_lbPort %}{{ Port.lbPort }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'lbPort'!='idHistory' and 'lbPort' in assocs|keys and Port.lbPort is not null %} {% endif %} {% block list_td_column_blLinkHa %} {% if Port.blLinkHa %} {% else %} {% endif %}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'blLinkHa'!='idHistory' and 'blLinkHa' in assocs|keys and Port.blLinkHa is not null %} {% endif %} {% block list_td_column_blFull %} {% if Port.blFull %} {% else %} {% endif %}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'blFull'!='idHistory' and 'blFull' in assocs|keys and Port.blFull is not null %} {% endif %} {% block list_td_column_idPortType %}{{ Port.idPortType }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'idPortType'!='idHistory' and 'idPortType' in assocs|keys and Port.idPortType is not null %} {% endif %} {% block list_td_column_idPortSubType %}{{ Port.idPortSubType }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'idPortSubType'!='idHistory' and 'idPortSubType' in assocs|keys and Port.idPortSubType is not null %} {% endif %} {% block list_td_column_idSfpModuleType %}{{ Port.idSfpModuleType }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'idSfpModuleType'!='idHistory' and 'idSfpModuleType' in assocs|keys and Port.idSfpModuleType is not null %} {% endif %} {% block list_td_column_nbTimeslots %}{{ Port.nbTimeslots }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'nbTimeslots'!='idHistory' and 'nbTimeslots' in assocs|keys and Port.nbTimeslots is not null %} {% endif %} {% block list_td_column_nbChannels %}{{ Port.nbChannels }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'nbChannels'!='idHistory' and 'nbChannels' in assocs|keys and Port.nbChannels is not null %} {% endif %} {% block list_td_column_blDeactivated %} {% if Port.blDeactivated %} {% else %} {% endif %}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'blDeactivated'!='idHistory' and 'blDeactivated' in assocs|keys and Port.blDeactivated is not null %} {% endif %} {% block list_td_column_dtDeactivated %}{% if Port.dtDeactivated %} {% set datetime_format = "d/m/Y" %} {{ Port.dtDeactivated|date(datetime_format) }}{% endif %}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'dtDeactivated'!='idHistory' and 'dtDeactivated' in assocs|keys and Port.dtDeactivated is not null %} {% endif %} {% block list_td_column_dtCreate %}{% if Port.dtCreate %} {% set datetime_format = "d/m/Y" %} {{ Port.dtCreate|date(datetime_format) }}{% endif %}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'dtCreate'!='idHistory' and 'dtCreate' in assocs|keys and Port.dtCreate is not null %} {% endif %} {% block list_td_column_dtUpdate %}{% if Port.dtUpdate %} {% set datetime_format = "d/m/Y" %} {{ Port.dtUpdate|date(datetime_format) }}{% endif %}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'dtUpdate'!='idHistory' and 'dtUpdate' in assocs|keys and Port.dtUpdate is not null %} {% endif %}
{% if Ports|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 %} {% endif %} {% endblock %} {% endif %} {% if (isSelect is defined and isSelect==1) or (isMulti is defined and isMulti==1) %} {% endif %} {% endblock %}
{% endblock %}