{% extends "@EasyAdmin/crud/index.html.twig" %} {% set has_batch_actions = batch_actions|length > 0 %} {% block page_actions %} {% if filters|length > 0 %}
{% block filters %} {% set applied_filters = ea.request.query.all['filters']|default([])|keys %}
{{ t('filter.title', ea.i18n.translationParameters, 'EasyAdminBundle') |trans }} {% if applied_filters %}({{ applied_filters|length }}){% endif %} {% if applied_filters %} {% endif %}
{% endblock filters %}
{% endif %}
  {{ "now"|date("d/m/Y") }} - {{ "now"|date("d/m/Y") }}
{% block global_actions %}
{% for action in global_actions %} {{ include(action.templatePath, { action: action }, with_context = false) }} {% endfor %}
{% endblock global_actions %} {% block batch_actions %} {% if has_batch_actions %}
{% for action in batch_actions %} {{ include(action.templatePath, { action: action }, with_context = false) }} {% endfor %}
{% endif %} {% endblock %} {% endblock page_actions %}