{##} {% extends "components/dataTable.twig.html" %} {% block table %}
{{ parent() }}
{{ block('bulkActions') }}
{% endblock table %} {% block header %}
{{ block('pageCount') }}
{{ parent() }}
{% if dataSet.getTotalCount > 0 and not hidePagination %}
{% if pageSize and dataSet.getResultCount > 20 %}
{{ pageSize|raw }}
{% endif %} {% if filterOptions %}
{{ filterOptions|raw }}
{% endif %} {% if filterCriteria and filterOptions %} {% endif %}
{% if listOptions %} {{ include('components/listOptions.twig.html') }} {% endif %} {{ block('pagination') }}
{% endif %} {% endblock header %} {% block footer %} {% if dataSet.getResultCount > dataSet.getPageSize %}
{{ block('pageCount') }}
{{ block('pagination') }}
{% endif %} {% endblock footer %} {% block filters %} {% for name, label in filterCriteria %} {% endfor %} {% endblock filters %} {% block pageCount %} {% if dataSet.getTotalCount > 0 %}
{{ searchText ? __('Search') ~ " " }} {{ dataSet.isSubset ? __('Results') : __('Records') }} {% if dataSet.count > 0 %} {{ dataSet.getPageFrom }} {{ __('to') }} {{ dataSet.getPageTo }} {{ __('of') }} {% endif %} {{ dataSet.getResultCount|number_format }}
{% endif %} {% endblock pageCount %} {% block pagination %} {% set buttonStyle = ' relative inline-flex items-center text-sm sm:text-xs font-semibold ring-1 focus:outline-offset-0' %} {% if dataSet.getPage > 0 and (dataSet.getResultCount > dataSet.getPageSize or filterOptions) %} {% endif %} {% endblock pagination %} {% block bulkActions %} {% if bulkActions %} {% endif %} {% endblock bulkActions %}