Author: trong.tran
Date: 2010-05-19 03:37:40 -0400 (Wed, 19 May 2010)
New Revision: 3121
Modified:
portal/trunk/web/portal/src/main/webapp/groovy/portal/webui/container/UIContainer.gtmpl
Log:
GTNPORTAL-1045 Add a new CSS class for handling a empty container while editting layout
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-19
07:18:12 UTC (rev 3120)
+++
portal/trunk/web/portal/src/main/webapp/groovy/portal/webui/container/UIContainer.gtmpl 2010-05-19
07:37:40 UTC (rev 3121)
@@ -42,7 +42,7 @@
<div class="VIEW-CONTAINER VIEW-BLOCK">
<%} %>
<%if(hasPermission) {%>
- <div class="UIRowContainer">
+ <div class="UIRowContainer <%=uicomponent.getChildren().size() == 0 ?
"EmptyContainer" : ""%>">
<div>
<%uicomponent.renderChildren();%>
</div>