{# This partial template renders a table of all products, to be populated with rows via an AJAX request. # This extends a generic template for paginated tables. # # Note that this template contains a "skeleton" table with an empty table body, and then a block of Handlebars templates which are used # to render the table cells with the data from the AJAX request. #} {% extends "tables/table-paginated.html.twig" %} {% block table %} {% if 'product_category' in table.columns %} {% endif %} {% if 'country' in table.columns %} {% endif %} {% if 'creator' in table.columns %} {% endif %}
{{translate("TITLE")}} {{translate("DESCRIPTION")}} {{translate("IMAGE")}} {{translate("PRICE")}} {{translate("SALE_PRICE")}} {{translate("CURRENCY")}} {{translate("IS_AVAILABLE")}} {{translate("PRODUCT_TAG", 2)}}{{translate('PRODUCT_CATEGORY')}} {{translate('COUNTRY')}} {{translate('USER')}} {{translate('CREATED_AT')}} {{translate("ACTIONS")}}
{% endblock %} {% block table_cell_templates %} {# This contains a series of {% endverbatim %} {% endblock %}