You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Ashish Nagar <as...@hotwaxmedia.com> on 2009/04/22 15:48:25 UTC

Re: svn commit: r767509 - /ofbiz/trunk/themes/bluelight/includes/header.ftl

Thanks Jacopo,  :-)

--
Ashish Nagar

jacopoc@apache.org wrote:
> Author: jacopoc
> Date: Wed Apr 22 13:18:36 2009
> New Revision: 767509
>
> URL: http://svn.apache.org/viewvc?rev=767509&view=rev
> Log:
> Fixed bug reported by Ashish Nagar in the ml: the header should work also with user logins not associated to a party.
>
> Modified:
>     ofbiz/trunk/themes/bluelight/includes/header.ftl
>
> Modified: ofbiz/trunk/themes/bluelight/includes/header.ftl
> URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/bluelight/includes/header.ftl?rev=767509&r1=767508&r2=767509&view=diff
> ==============================================================================
> --- ofbiz/trunk/themes/bluelight/includes/header.ftl (original)
> +++ ofbiz/trunk/themes/bluelight/includes/header.ftl Wed Apr 22 13:18:36 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="<@o...@ofbizUrl>">${uiLabelMap.CommonLanguageTitle} : ${locale.getDisplayName(locale)}</a></li>
>
>
>
>