From f29db1a76717063af5e3f8525cfa0e0895102df4 Mon Sep 17 00:00:00 2001 From: tmarwen Date: Fri, 17 Oct 2014 14:18:47 +0100 Subject: [PATCH] GTNPORTAL-3553 | Nodes with no page and restricted children is visible in NavgiationPortlet --- .../groovy/portal/webui/component/UIPortalNavigation.gtmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/portlet/web/src/main/webapp/groovy/portal/webui/component/UIPortalNavigation.gtmpl b/portlet/web/src/main/webapp/groovy/portal/webui/component/UIPortalNavigation.gtmpl index 25d8c8757..9a6bc42af 100644 --- a/portlet/web/src/main/webapp/groovy/portal/webui/component/UIPortalNavigation.gtmpl +++ b/portlet/web/src/main/webapp/groovy/portal/webui/component/UIPortalNavigation.gtmpl @@ -121,7 +121,7 @@ print """ $label """; - } else {%> + } else if (node.getChildrenCount() > 0) {%> $label <%}%>