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

{% trans from "Admin" %}Protocol 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 Protocols|length > 0 %} {% for Protocol in Protocols %} {% 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 == 'idProtocol' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Id'|trans({}, 'Admin') }} {% if sortColumn == 'idProtocol' %} {% if sortColumn == 'idProtocol' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'cdProtocol' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Protocol Code'|trans({}, 'Admin') }} {% if sortColumn == 'cdProtocol' %} {% if sortColumn == 'cdProtocol' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'lbProtocol' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Protocol Description'|trans({}, 'Admin') }} {% if sortColumn == 'lbProtocol' %} {% if sortColumn == 'lbProtocol' 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 == 'dtDeactivated' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Dtdeactivated'|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_idProtocol %}{{ Protocol.idProtocol }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'idProtocol'!='idHistory' and 'idProtocol' in assocs|keys and Protocol.idProtocol is not null %} {% endif %} {% block list_td_column_cdProtocol %}{{ Protocol.cdProtocol }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'cdProtocol'!='idHistory' and 'cdProtocol' in assocs|keys and Protocol.cdProtocol is not null %} {% endif %} {% block list_td_column_lbProtocol %}{{ Protocol.lbProtocol }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'lbProtocol'!='idHistory' and 'lbProtocol' in assocs|keys and Protocol.lbProtocol is not null %} {% endif %} {% block list_td_column_blDeactivated %} {% if Protocol.blDeactivated %} {% else %} {% endif %}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'blDeactivated'!='idHistory' and 'blDeactivated' in assocs|keys and Protocol.blDeactivated is not null %} {% endif %} {% block list_td_column_dtCreate %}{% if Protocol.dtCreate %} {% set datetime_format = "d/m/Y" %} {{ Protocol.dtCreate|date(datetime_format) }}{% endif %}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'dtCreate'!='idHistory' and 'dtCreate' in assocs|keys and Protocol.dtCreate is not null %} {% endif %} {% block list_td_column_dtUpdate %}{% if Protocol.dtUpdate %} {% set datetime_format = "d/m/Y" %} {{ Protocol.dtUpdate|date(datetime_format) }}{% endif %}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'dtUpdate'!='idHistory' and 'dtUpdate' in assocs|keys and Protocol.dtUpdate is not null %} {% endif %} {% block list_td_column_dtDeactivated %}{% if Protocol.dtDeactivated %} {% set datetime_format = "d/m/Y" %} {{ Protocol.dtDeactivated|date(datetime_format) }}{% endif %}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'dtDeactivated'!='idHistory' and 'dtDeactivated' in assocs|keys and Protocol.dtDeactivated is not null %} {% endif %}
{% if Protocols|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 %}