-
Improvement
-
Resolution: Won't Fix
-
Neutral
-
None
-
None
-
None
-
-
Empty show more show less
The available templates are determined by the parents template category, so it should be easy to check for available child templates for a yet not created page.
The only thing that is preventing this is in #isAvailable:
if(node.getDepth() == 1)
{ return category.equals(TemplateCategory.HOME) || category.equals(TemplateCategory.FUNCTIONAL); }Extending the interfaces would end up in a huge code duplication down to that method.
Acceptance criteria
- is related to
-
MGNLUI-1580 pages-app: create new page ignores page name
- Closed
-
MGNLSTK-1052 Template availability expects to be passed the parent node
- Closed