-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add jbotDeprecated directive with dictionary as single argument.
This can be used when you move templates and want an existing jbot override for the old template path to still work. Example: * You move `old_package/test.pt` to `new_package/test.pt`. * You register a dictionary with: `{"old_package.test.pt": "new_package.test.pt"}` * If a third party package has a template override `old_package.test.pt`, we display a warning that the package should use `new_package.test.pt`. * The override with the old name still works: instead of `new_package/test.pt`, the override is used. * Of course an override with the new name works as well. Sample warning for a template that is moved from plone.app.layout to plone.classicui: UserWarning: Template /Users/maurits/zeelandia/plone60/src/zeelandia.theme/src/zeelandia/theme/browser/overrides/plone.app.layout.viewlets.searchbox.pt deprecated, use plone.classicui.viewlets.searchbox.pt For background, see plone/plone.classicui#7
- Loading branch information
1 parent
bc4878d
commit 06db058
Showing
5 changed files
with
64 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters