Author: hansbak
Date: Thu Feb 12 02:53:19 2009
New Revision: 743605
URL:
http://svn.apache.org/viewvc?rev=743605&view=revLog:
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>