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

Use dynamic action variable to template #7729

Merged
merged 2 commits into from
Feb 10, 2022

Conversation

core23
Copy link
Member

@core23 core23 commented Feb 7, 2022

Subject

Allow reusing the templates with different actions. The action should be set inside the CRUDController.

I am targeting this branch, because this feature is BC.

Changelog

### Changed
- Use dynamic action variable to template

### Deprecated
- `tree.html.twig` template

@core23 core23 added the minor label Feb 7, 2022
@core23 core23 requested a review from a team February 7, 2022 21:22
src/Resources/views/CRUD/base_list.html.twig Outdated Show resolved Hide resolved
src/Resources/views/CRUD/batch_confirmation.html.twig Outdated Show resolved Hide resolved
src/Resources/views/CRUD/tree.html.twig Outdated Show resolved Hide resolved
@core23 core23 requested review from VincentLanglet and a team February 8, 2022 16:27
@core23 core23 requested a review from a team February 10, 2022 06:59
@core23 core23 merged commit f92740f into sonata-project:4.x Feb 10, 2022
@core23 core23 deleted the dynamic-action branch February 10, 2022 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants