Skip to content

Allowed using table.html.twig in Twig's embed#1810

Open
Steveb-p wants to merge 3 commits intomainfrom
allow-table-embedding
Open

Allowed using table.html.twig in Twig's embed#1810
Steveb-p wants to merge 3 commits intomainfrom
allow-table-embedding

Conversation

@Steveb-p
Copy link
Contributor

@Steveb-p Steveb-p commented Jan 7, 2026

🎫 Issue IBX-10990

Description:

This PR allows table to be used in {% embed %} in Twig.

Basically each file introduces blocks that can be overwritten by providing custom block shape.

For example:

{% embed '@ibexadesign/ui/component/table/table.html.twig' with {
    headline,
    head_cols: [
        { content: 'product.list.column.name'|trans|desc('Name') },
        { content: 'product.list.column.thumbnail'|trans|desc('Image') },
        { content: 'product.list.column.code'|trans|desc('Code') },
        { content: 'product.list.column.type'|trans|desc('Type') },
        { content: 'product.list.column.created'|trans|desc('Created') },
        { content: 'product.list.column.variant'|trans|desc('Variant') },
    ],
    actions,
    body_rows,
    empty_table_info_text,
    empty_table_action_text,
} %}
{% endembed %}

For QA:

Documentation:

@sonarqubecloud
Copy link

sonarqubecloud bot commented Jan 7, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants