Skip to content

[BootstrapAdminUi] General UI improvements - #159

Merged
loic425 merged 1 commit into
Sylius:mainfrom
loic425:general-ui-improvements
Dec 12, 2024
Merged

[BootstrapAdminUi] General UI improvements#159
loic425 merged 1 commit into
Sylius:mainfrom
loic425:general-ui-improvements

Conversation

@loic425

@loic425 loic425 commented Dec 12, 2024

Copy link
Copy Markdown
Member

Fixes #157

<td{% if field.options.vars.td_class is defined %} class="{{ field.options.vars.td_class }}"{% endif %}>
{{ sylius_grid_render_field(grid, field, row) }}
{% if field.name == 'code' %}
<code>{{ sylius_grid_render_field(grid, field, row) }}</code>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if it was regular twig render, then styling of the field should have been done via theme, but guess it's not applicable over here.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed, interesting comment. For now, I prefer keeping admin-bundle and bootstrap-admin-ui synced.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ui improvements

2 participants