{# 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 %}
{{translate("TITLE")}} | {{translate("DESCRIPTION")}} | {{translate("IMAGE")}} | {{translate("PRICE")}} | {{translate("SALE_PRICE")}} | {{translate("CURRENCY")}} | {{translate("IS_AVAILABLE")}} | {{translate("PRODUCT_TAG", 2)}} | {% if 'product_category' in table.columns %}{{translate('PRODUCT_CATEGORY')}} | {% endif %} {% if 'country' in table.columns %}{{translate('COUNTRY')}} | {% endif %} {% if 'creator' in table.columns %}{{translate('USER')}} | {% endif %}{{translate('CREATED_AT')}} | {{translate("ACTIONS")}} |
---|