You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jo...@apache.org on 2009/02/09 10:28:54 UTC
svn commit: r742351 -
/ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/header.ftl
Author: jonesde
Date: Mon Feb 9 09:28:53 2009
New Revision: 742351
URL: http://svn.apache.org/viewvc?rev=742351&view=rev
Log:
Changed so that header links for profile, order history, etc are shown when user is not logged in, but not shown when user is anonymous; in some cases it is nice to not show links a user can't use, but in this case they are convenient as the system will simply ask the user to login before showing them the page, so they are better there than not
Modified:
ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/header.ftl
Modified: ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/header.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/header.ftl?rev=742351&r1=742350&r2=742351&view=diff
==============================================================================
--- ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/header.ftl (original)
+++ ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/header.ftl Mon Feb 9 09:28:53 2009
@@ -106,7 +106,7 @@
</ul>
<ul id="right-links">
<!-- NOTE: these are in reverse order because they are stacked right to left instead of left to right -->
- <#if userLogin?has_content && userLogin.userLoginId != "anonymous">
+ <#if !userLogin?has_content || (userLogin.userLoginId)?if_exists != "anonymous">
<li id="header-bar-viewprofile"><a href="<@o...@ofbizUrl>">${uiLabelMap.CommonProfile}</a></li>
<li id="header-bar-ListQuotes"><a href="<@o...@ofbizUrl>">${uiLabelMap.OrderOrderQuotes}</a></li>
<li id="header-bar-ListRequests"><a href="<@o...@ofbizUrl>">${uiLabelMap.OrderRequests}</a></li>