Skip to content

Commit

Permalink
Update remark on extending template
Browse files Browse the repository at this point in the history
  • Loading branch information
lcharette committed Jan 16, 2024
1 parent 13fca6a commit c4647cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/22.upgrading/01.46-to-50/02.guide/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -295,8 +295,8 @@ Not must as changed regarding the Resource Locator. Refer to the [Locator Servic

Two points are to be considered when working with templates:

1. Sprinkles have been renamed. If your extending a bundle sprinkle, you need to update the reference : `{% extends "@admin/pages/activities.html.twig" %}` => `{% extends "@admin-sprinkle/pages/activities.html.twig" %}`
2. In a similar way, templates have been moved to the "AdminLTE" sprinkle. Be sure to check the new structure if your extending templates.
1. Sprinkles have been renamed. If you're extending a default sprinkle, you'll need to update the sprinkle reference in the `extends` tag. For `{% extends "@admin/pages/activities.html.twig" %}` => `{% extends "@admin-sprinkle/pages/activities.html.twig" %}`
2. In a similar way, some Twig templates have been moved to the "AdminLTE" sprinkle. Be sure to check the new structure if you're extending templates with the `extends` tag. Some templates file previously in the Admin Sprinkle might be in the AdminLTE sprinkle now.
3. FontAwesome has been updated, and references to icon must also be updated : `fa` -> `fas`

### Misc
Expand Down

0 comments on commit c4647cf

Please sign in to comment.