Author: tuancn
Date: 2010-02-03 05:29:36 -0500 (Wed, 03 Feb 2010)
New Revision: 1519
Modified:
portal/trunk/portlet/exoadmin/src/main/webapp/groovy/navigation/webui/component/UIGroupNavigationManagement.gtmpl
portal/trunk/portlet/exoadmin/src/main/webapp/groovy/navigation/webui/component/UISiteManagement.gtmpl
Log:
GTNPORTAL-500: "Site" and "Group" links for non-privilege people show
forbidden buttons (update)
Modified:
portal/trunk/portlet/exoadmin/src/main/webapp/groovy/navigation/webui/component/UIGroupNavigationManagement.gtmpl
===================================================================
---
portal/trunk/portlet/exoadmin/src/main/webapp/groovy/navigation/webui/component/UIGroupNavigationManagement.gtmpl 2010-02-03
10:18:09 UTC (rev 1518)
+++
portal/trunk/portlet/exoadmin/src/main/webapp/groovy/navigation/webui/component/UIGroupNavigationManagement.gtmpl 2010-02-03
10:29:36 UTC (rev 1519)
@@ -6,7 +6,7 @@
uicomponent.loadNavigations();
uicomponent.renderChild(UIVirtualList.class);
- if(uicomponent.loadNavigations().size() > 0){ %>
+ if(uicomponent.getNavigations() != null && uicomponent.getNavigations().size()
> 0){ %>
<div class="UIAction">
<table class="ActionContainer">
Modified:
portal/trunk/portlet/exoadmin/src/main/webapp/groovy/navigation/webui/component/UISiteManagement.gtmpl
===================================================================
---
portal/trunk/portlet/exoadmin/src/main/webapp/groovy/navigation/webui/component/UISiteManagement.gtmpl 2010-02-03
10:18:09 UTC (rev 1518)
+++
portal/trunk/portlet/exoadmin/src/main/webapp/groovy/navigation/webui/component/UISiteManagement.gtmpl 2010-02-03
10:29:36 UTC (rev 1519)
@@ -31,7 +31,7 @@
}
%>
<%
- if(uicomponent.getPortalConfigs().size() > 0){
+ if(uicomponent.getPortalConfigs() != null &&
uicomponent.getPortalConfigs().size() > 0){
%>
<div class="UIAction">
<table class="ActionContainer">
Show replies by date