{# This file is part of the Sonata package. (c) Thomas Rabaix For the full copyright and license information, please view the LICENSE file that was distributed with this source code. #} {% extends base_template %} {%- block actions -%} {% include '@SonataAdmin/CRUD/action_buttons.html.twig' %} {%- endblock -%} {%- block tab_menu -%} {{ knp_menu_render(admin.sidemenu(action), { 'currentClass': 'active', 'template': get_global_template('tab_menu_template') }, 'twig') }} {%- endblock -%} {% block content %}
{% if batch_translation_domain is not same as(false) %} {% set action_label = action_label|trans({}, batch_translation_domain) %} {% endif %}

{% trans with {'%action%': action_label} from 'SonataAdminBundle' %}title_batch_confirmation{% endtrans %}

{% if data.all_elements %} {{ 'message_batch_all_confirmation'|trans({}, 'SonataAdminBundle') }} {% else %} {% trans with {'%count%': data.idx|length} from 'SonataAdminBundle' %}message_batch_confirmation{% endtrans %} {% endif %}
{% endblock %}