svn commit: r737505 - /ofbiz/trunk/framework/example/webapp/appheader.ftl

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r737505 - /ofbiz/trunk/framework/example/webapp/appheader.ftl

jleroux@apache.org
Author: jleroux
Date: Sun Jan 25 11:44:46 2009
New Revision: 737505

URL: http://svn.apache.org/viewvc?rev=737505&view=rev
Log:
A patch from Bruno Busco "Drop-down Applications Bar"  '(https://issues.apache.org/jira/browse/OFBIZ-2118) - OFBIZ-2118
Fix an issue in Example component


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=737505&r1=737504&r2=737505&view=diff
==============================================================================
--- ofbiz/trunk/framework/example/webapp/appheader.ftl (original)
+++ ofbiz/trunk/framework/example/webapp/appheader.ftl Sun Jan 25 11:44:46 2009
@@ -19,11 +19,11 @@
 
 <#assign selected = headerItem?default("void")>
 <div id="app-navigation">
-  <h2>${uiLabelMap.ExampleApplication}</h2>
   <ul>
     <li>
-  <ul>
-    <#if userLogin?has_content>    
+      <h2>${uiLabelMap.ExampleApplication}</h2>
+      <ul>
+      <#if userLogin?has_content>    
         <li <#if selected = "${uiLabelMap.ExampleExample}"> class="selected"</#if>><a href="<@ofbizUrl>FindExample?portalPageId=${uiLabelMap.ExampleExample}</@ofbizUrl>">${uiLabelMap.ExampleExample}</a></li>
         <li <#if selected = "${uiLabelMap.ExampleFeature}"> class="selected"</#if>><a href="<@ofbizUrl>FindExampleFeature?portalPageId=${uiLabelMap.ExampleFeature}</@ofbizUrl>">${uiLabelMap.ExampleFeature}</a></li>
         <li <#if selected = "${uiLabelMap.ExampleFormWidgetExamples}"> class="selected"</#if>><a href="<@ofbizUrl>FormWidgetExamples?portalPageId=${uiLabelMap.ExampleFormWidgetExamples}</@ofbizUrl>">${uiLabelMap.ExampleFormWidgetExamples}</a></li>
@@ -35,10 +35,10 @@
         </#if>
         <li class="opposed"><a href="<@ofbizUrl>logout</@ofbizUrl>">${uiLabelMap.CommonLogout}</a></li>
         <li class="opposed"><a href="<@ofbizUrl>ManagePortalPages?parentPortalPageId=EXAMPLE</@ofbizUrl>">${uiLabelMap.CommonDashboard}</a></li>
-    <#else>
+      <#else>
         <li class="opposed"><a href="<@ofbizUrl>${checkLoginUrl?if_exists}</@ofbizUrl>">${uiLabelMap.CommonLogin}</a></li>
-    </#if>
-  </ul>
+      </#if>
+      </ul>
     </li>
   </ul>
   <br class="clear" />