svn commit: r767510 - /ofbiz/branches/release09.04/themes/bluelight/includes/header.ftl

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

svn commit: r767510 - /ofbiz/branches/release09.04/themes/bluelight/includes/header.ftl

jacopoc
Author: jacopoc
Date: Wed Apr 22 13:20:19 2009
New Revision: 767510

URL: http://svn.apache.org/viewvc?rev=767510&view=rev
Log:
Applied fix from trunk for revision: 767509

Modified:
    ofbiz/branches/release09.04/themes/bluelight/includes/header.ftl

Modified: ofbiz/branches/release09.04/themes/bluelight/includes/header.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/release09.04/themes/bluelight/includes/header.ftl?rev=767510&r1=767509&r2=767510&view=diff
==============================================================================
--- ofbiz/branches/release09.04/themes/bluelight/includes/header.ftl (original)
+++ ofbiz/branches/release09.04/themes/bluelight/includes/header.ftl Wed Apr 22 13:20:19 2009
@@ -135,7 +135,11 @@
         <li class="control-area">
           <ul id="preferences-menu">
             <#if userLogin?exists>
-              <li class="user"><a href="/partymgr/control/viewprofile?partyId=${userLogin.partyId}">${userName}</a></li>
+              <#if userLogin.partyId?exists>
+                <li class="user"><a href="/partymgr/control/viewprofile?partyId=${userLogin.partyId}">${userName}</a></li>
+              <#else>
+                <li class="user">${userName}</li>
+              </#if>
               <li class="org">${orgName}</li>
             </#if>
             <li class="first"><a href="<@ofbizUrl>LookupLocales</@ofbizUrl>">${uiLabelMap.CommonLanguageTitle} : ${locale.getDisplayName(locale)}</a></li>