ofbiz-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hans...@apache.org
Subject svn commit: r743605 - /ofbiz/trunk/framework/example/webapp/appheader.ftl
Date Thu, 12 Feb 2009 02:53:20 GMT
Author: hansbak
Date: Thu Feb 12 02:53:19 2009
New Revision: 743605

URL: http://svn.apache.org/viewvc?rev=743605&view=rev
Log:
do not display portalpage button when the portalPagename is empty

Modified:
    ofbiz/trunk/framework/example/webapp/appheader.ftl

Modified: ofbiz/trunk/framework/example/webapp/appheader.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/webapp/appheader.ftl?rev=743605&r1=743604&r2=743605&view=diff
==============================================================================
--- ofbiz/trunk/framework/example/webapp/appheader.ftl (original)
+++ ofbiz/trunk/framework/example/webapp/appheader.ftl Thu Feb 12 02:53:19 2009
@@ -30,7 +30,9 @@
         <li <#if selected = "${uiLabelMap.ExampleAjaxExamples}"> class="selected"</#if>><a
href="<@ofbizUrl>authview/findExampleAjax?portalPageId=${uiLabelMap.ExampleAjaxExamples}</@ofbizUrl>">${uiLabelMap.ExampleAjaxExamples}</a></li>
       
         <#if portalPages?has_content>
         	<#list portalPages as page>
+        	  <#if page.portalPageName?has_content>
             	<li<#if selected = "${page.portalPageId}"> class="selected"</#if>><a
href="<@ofbizUrl>showPortalPage?portalPageId=${page.portalPageId}</@ofbizUrl>"><#if
page.portalPageName?exists>${page.portalPageName}<#else>?</#if></a></li>
+              </#if>
         	</#list>
         </#if>
         <li class="opposed"><a href="<@ofbizUrl>ManagePortalPages?parentPortalPageId=EXAMPLE</@ofbizUrl>">${uiLabelMap.CommonDashboard}</a></li>



Mime
View raw message