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

Init Bootstrap theme component #21

Closed
wants to merge 2 commits into from
Closed

Init Bootstrap theme component #21

wants to merge 2 commits into from

Conversation

loic425
Copy link
Member

@loic425 loic425 commented Jul 3, 2024

Based on #20

@@ -3,3 +3,15 @@ twig_hooks:
'app.base':
content:
template: 'base/content.html.twig'
# 'sylius_admin.book.create.content':
Copy link
Member Author

@loic425 loic425 Sep 13, 2024

Choose a reason for hiding this comment

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

We test the book creation without live component.

# props:
# form: '@=_context.form'
# resource: '@=_context.resource'
'sylius_admin.book.update.content':
Copy link
Member Author

@loic425 loic425 Sep 13, 2024

Choose a reason for hiding this comment

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

we test the book edition with a live component.

@@ -1,5 +1,7 @@
{% extends '@SyliusAdminUi/base.html.twig' %}

{% set metadata = resource_metadata|default(metadata) %}
Copy link
Member Author

@loic425 loic425 Sep 13, 2024

Choose a reason for hiding this comment

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

new resource_metadata is very closed to the legacy metadata.

On templates, we only need

  • applicationName
  • name
  • pluralName

@loic425 loic425 marked this pull request as draft September 15, 2024 13:15
@loic425 loic425 closed this by deleting the head repository Nov 7, 2024
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.

1 participant