Author: trong.tran
Date: 2010-05-26 01:48:41 -0400 (Wed, 26 May 2010)
New Revision: 3200
Modified:
portal/trunk/web/portal/src/main/webapp/groovy/portal/webui/container/UIContainer.gtmpl
Log:
GTNPORTAL-1249 The empty container takes space in normal view
Modified:
portal/trunk/web/portal/src/main/webapp/groovy/portal/webui/container/UIContainer.gtmpl
===================================================================
---
portal/trunk/web/portal/src/main/webapp/groovy/portal/webui/container/UIContainer.gtmpl 2010-05-26
02:47:05 UTC (rev 3199)
+++
portal/trunk/web/portal/src/main/webapp/groovy/portal/webui/container/UIContainer.gtmpl 2010-05-26
05:48:41 UTC (rev 3200)
@@ -42,7 +42,7 @@
<div class="VIEW-CONTAINER VIEW-BLOCK">
<%} %>
<%if(hasPermission) {%>
- <div class="UIRowContainer <%=uicomponent.getChildren().size() == 0 ?
"EmptyContainer" : ""%>">
+ <div class="UIRowContainer <%=(portalMode !=
UIPortalApplication.NORMAL_MODE && uicomponent.getChildren().size() == 0) ?
"EmptyContainer" : ""%>">
<div>
<%uicomponent.renderChildren();%>
</div>
Show replies by date