diff --git a/src/main/webapp/custom_jsps/html/taglib/ui/my_sites/page.jsp b/src/main/webapp/custom_jsps/html/taglib/ui/my_sites/page.jsp index bc88287..6cabd23 100644 --- a/src/main/webapp/custom_jsps/html/taglib/ui/my_sites/page.jsp +++ b/src/main/webapp/custom_jsps/html/taglib/ui/my_sites/page.jsp @@ -46,10 +46,14 @@ } if (! isAdmin) { - for (Group group : user.getMySiteGroups(classNames, includeControlPanel, max)) { - if (group.getChildren(true).isEmpty()) { - mySiteGroups.add(group); + try { + for (Group group : user.getMySiteGroups(classNames, includeControlPanel, max)) { + if (group.getChildren(true).isEmpty() && (group.getFriendlyURL().compareTo("/data-e-infrastructure-gateway") != 0) ) { + mySiteGroups.add(group); + } } + } catch (SystemException e1) { + e1.printStackTrace(); } } %> @@ -215,8 +219,7 @@ || showPrivateSiteStaging) { iconCssClass = "icon-eye-open"; } - %> <%@ include - file="/html/taglib/ui/my_sites/page_site_name.jspf"%> + %> <%@ include file="/html/taglib/ui/my_sites/page_site_name.jspf"%> <%@ include - file="/html/taglib/ui/my_sites/page_site_name.jspf"%> + %> <%@ include file="/html/taglib/ui/my_sites/page_site_name.jspf"%> ">

<%=escapedSiteName%> + .getURLControlPanel()%>"> + <%=escapedSiteName%>

@@ -458,8 +462,8 @@ .getPublicLayoutsPageCount() > 0)%>"> onclick="Liferay.Util.forcePost(this); return false;"
- role="menuitem"> (<%=mySiteGroup + role="menuitem"> + (<%=mySiteGroup .getPublicLayoutsPageCount()%>) 0%>"> onclick="Liferay.Util.forcePost(this); return false;" - role="menuitem"> (<%=mySiteGroup + role="menuitem"> + (<%=mySiteGroup .getPrivateLayoutsPageCount()%>)