Author: jacopoc
Date: Wed Apr 22 13:20:19 2009
New Revision: 767510
URL:
http://svn.apache.org/viewvc?rev=767510&view=revLog:
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>