Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IBX-4993 changed content_fields.html.twig to display table header for single/multiple relation in preview #693

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,7 @@
{ content: 'ezobjectrelationlist.content_type'|trans|desc('Content Type') },
{ content: 'ezobjectrelationlist.created'|trans|desc('Created') },
],
show_head_cols_if_empty: true,
} %}
{% block tbody %}
{% for contentId in field.value.destinationContentIds %}
Expand Down Expand Up @@ -494,6 +495,7 @@
{ content: 'ezobjectrelation.content_type'|trans|desc('Content Type') },
{ content: 'ezobjectrelation.version_created'|trans|desc('Version created') },
],
show_head_cols_if_empty: true,
} %}
{% block tbody %}
{% embed '@ibexadesign/ui/component/table/table_body_row.html.twig' with { field: field } %}
Expand Down