Author: jonesde
Date: Mon Feb 9 09:28:53 2009
New Revision: 742351
URL:
http://svn.apache.org/viewvc?rev=742351&view=revLog:
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="<@ofbizUrl>viewprofile</@ofbizUrl>">${uiLabelMap.CommonProfile}</a></li>
<li id="header-bar-ListQuotes"><a href="<@ofbizUrl>ListQuotes</@ofbizUrl>">${uiLabelMap.OrderOrderQuotes}</a></li>
<li id="header-bar-ListRequests"><a href="<@ofbizUrl>ListRequests</@ofbizUrl>">${uiLabelMap.OrderRequests}</a></li>