removed data-e-einfrastructure gateway from my sites list
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portal/liferay62-plugins/social-dockbar-hook@130801 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
57e7074cce
commit
9f918e49fd
|
@ -46,10 +46,14 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
if (! isAdmin) {
|
if (! isAdmin) {
|
||||||
for (Group group : user.getMySiteGroups(classNames, includeControlPanel, max)) {
|
try {
|
||||||
if (group.getChildren(true).isEmpty()) {
|
for (Group group : user.getMySiteGroups(classNames, includeControlPanel, max)) {
|
||||||
mySiteGroups.add(group);
|
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) {
|
|| showPrivateSiteStaging) {
|
||||||
iconCssClass = "icon-eye-open";
|
iconCssClass = "icon-eye-open";
|
||||||
}
|
}
|
||||||
%> <%@ include
|
%> <%@ include file="/html/taglib/ui/my_sites/page_site_name.jspf"%>
|
||||||
file="/html/taglib/ui/my_sites/page_site_name.jspf"%>
|
|
||||||
|
|
||||||
<c:if
|
<c:if
|
||||||
test="<%=(mySiteGroup
|
test="<%=(mySiteGroup
|
||||||
|
@ -295,8 +298,7 @@
|
||||||
|| showPublicSiteStaging) {
|
|| showPublicSiteStaging) {
|
||||||
iconCssClass = "icon-eye-close";
|
iconCssClass = "icon-eye-close";
|
||||||
}
|
}
|
||||||
%> <%@ include
|
%> <%@ include file="/html/taglib/ui/my_sites/page_site_name.jspf"%>
|
||||||
file="/html/taglib/ui/my_sites/page_site_name.jspf"%>
|
|
||||||
|
|
||||||
<c:if
|
<c:if
|
||||||
test="<%=(mySiteGroup
|
test="<%=(mySiteGroup
|
||||||
|
@ -410,13 +412,15 @@
|
||||||
}
|
}
|
||||||
%>
|
%>
|
||||||
|
|
||||||
<li class="<%=selectedSite ? "active"
|
<li
|
||||||
|
class="<%=selectedSite ? "active"
|
||||||
: StringPool.BLANK%>">
|
: StringPool.BLANK%>">
|
||||||
<c:choose>
|
<c:choose>
|
||||||
<c:when test="<%=mySiteGroup.isControlPanel()%>">
|
<c:when test="<%=mySiteGroup.isControlPanel()%>">
|
||||||
<h3>
|
<h3>
|
||||||
<a href="<%=themeDisplay
|
<a href="<%=themeDisplay
|
||||||
.getURLControlPanel()%>"> <%=escapedSiteName%>
|
.getURLControlPanel()%>">
|
||||||
|
<%=escapedSiteName%>
|
||||||
</a>
|
</a>
|
||||||
</h3>
|
</h3>
|
||||||
</c:when>
|
</c:when>
|
||||||
|
@ -458,8 +462,8 @@
|
||||||
.getPublicLayoutsPageCount() > 0)%>">
|
.getPublicLayoutsPageCount() > 0)%>">
|
||||||
onclick="Liferay.Util.forcePost(this); return false;"
|
onclick="Liferay.Util.forcePost(this); return false;"
|
||||||
</c:if>
|
</c:if>
|
||||||
role="menuitem"><liferay-ui:message
|
role="menuitem"><liferay-ui:message key="public-pages" />
|
||||||
key="public-pages" /> <span class="page-count">(<%=mySiteGroup
|
<span class="page-count">(<%=mySiteGroup
|
||||||
.getPublicLayoutsPageCount()%>)
|
.getPublicLayoutsPageCount()%>)
|
||||||
</span></a> <c:if test="<%=publicAddPageHREF != null%>">
|
</span></a> <c:if test="<%=publicAddPageHREF != null%>">
|
||||||
<a class="add-page"
|
<a class="add-page"
|
||||||
|
@ -493,8 +497,8 @@
|
||||||
.getPrivateLayoutsPageCount() > 0%>">
|
.getPrivateLayoutsPageCount() > 0%>">
|
||||||
onclick="Liferay.Util.forcePost(this); return false;"
|
onclick="Liferay.Util.forcePost(this); return false;"
|
||||||
</c:if>
|
</c:if>
|
||||||
role="menuitem"><liferay-ui:message
|
role="menuitem"><liferay-ui:message key="private-pages" />
|
||||||
key="private-pages" /> <span class="page-count">(<%=mySiteGroup
|
<span class="page-count">(<%=mySiteGroup
|
||||||
.getPrivateLayoutsPageCount()%>)
|
.getPrivateLayoutsPageCount()%>)
|
||||||
</span></a> <c:if test="<%=privateAddPageHREF != null%>">
|
</span></a> <c:if test="<%=privateAddPageHREF != null%>">
|
||||||
<a class="add-page"
|
<a class="add-page"
|
||||||
|
|
Loading…
Reference in New Issue