#if($expandChildren && !$displayRichLinks)
$action.getText("com.brikit.themepress.list-children.control.expand.all") $action.getText("com.brikit.themepress.list-children.control.collapse.all")
#end #macro (drawChildrenLevel $pageNodes $depth) #if (!$action.renderingRichLinksAction && $displayRichLinks)
#foreach ($pageNode in $pageNodes) #if ($brikitCore.hasLabels($pageNode, $labels)) $themePress.renderRichLink($pageNode, $ignoreThumbnails) #end #end
#else #end #end #if ($showRoot) #set ($rootAsList = [$root]) #drawChildrenLevel($rootAsList $depth) #else #drawChildrenLevel($brikitCore.getPermittedChildren($root) $depth) #end