-
Notifications
You must be signed in to change notification settings - Fork 214
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BUGFIX] Use page layout specific column labels
Labels of columns in page layouts were only translatable with the generic non-specific key "flux.grid.columns.$columnName". This patch sets the page layout's grid parent object to be the page layout's form, so that the resolved parent ID is that of the form. A column named "one" within a page layout with id "twocol" will thus get the label key "flux.twocol.columns.one", just as it was for flux 8. If the backend layout cannot be found because the page template file does not exist anymore, we need to return NULL from buildBackendLayout() to get a proper error message. Resolves: #1468
- Loading branch information
Showing
2 changed files
with
9 additions
and
2 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