Skip to content

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

Open
Steveb-p wants to merge 3 commits into
5.0from
allow-table-embedding
Open

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

Conversation

@Steveb-p

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

Copy link
Copy Markdown
Contributor
🎫 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

sonarqubecloud Bot commented Jan 7, 2026

Copy link
Copy Markdown

@ibexa-yuna ibexa-yuna deleted the branch 5.0 April 29, 2026 08:11
@ibexa-yuna ibexa-yuna closed this Apr 29, 2026
@mnocon mnocon reopened this Apr 29, 2026
@sonarqubecloud

Copy link
Copy Markdown

@mnocon mnocon changed the base branch from main to 5.0 April 29, 2026 09:36
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.

7 participants