svn commit: r754683 - /ofbiz/trunk/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: r754683 - /ofbiz/trunk/themes/bluelight/includes/header.ftl

buscob
Author: buscob
Date: Sun Mar 15 16:23:20 2009
New Revision: 754683

URL: http://svn.apache.org/viewvc?rev=754683&view=rev
Log:
Fixed an error happening when no defaultOrganizationPartyGroupName is defined.
Forced logo icon size. I found the icon was rendered larger in Chrome.

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=754683&r1=754682&r2=754683&view=diff
==============================================================================
--- ofbiz/trunk/themes/bluelight/includes/header.ftl (original)
+++ ofbiz/trunk/themes/bluelight/includes/header.ftl Sun Mar 15 16:23:20 2009
@@ -98,6 +98,8 @@
 
 <#if defaultOrganizationPartyGroupName?has_content>
   <#assign orgName = " - " + defaultOrganizationPartyGroupName?if_exists>
+<#else>
+  <#assign orgName = "">
 </#if>
 
 <body>
@@ -112,7 +114,7 @@
         <#if (userPreferences.COMPACT_HEADER)?default("N") == "Y">
           <li class="logo-area">
             <#if shortcutIcon?has_content>
-              <a href="<@ofbizUrl>${logoLinkURL}</@ofbizUrl>"><img src="<@ofbizContentUrl>${shortcutIcon}</@ofbizContentUrl>"/></a>
+              <a href="<@ofbizUrl>${logoLinkURL}</@ofbizUrl>"><img src="<@ofbizContentUrl>${shortcutIcon}</@ofbizContentUrl>" height="16px" width="16px"/></a>
             </#if>
           </li>
         <#else>
@@ -130,7 +132,7 @@
 
         <li class="control-area">
           <ul id="preferences-menu">
-            <li class="user"><a href="/partymgr/control/viewprofile?partyId=${userLogin.partyId}">${userName}</a></li>
+            <li class="user"><a href="/partymgr/control/viewprofile?partyId=${userLogin.partyId}">${userName}</a></li>            
             <li class="org">${orgName}</li>
             <li class="first"><a href="<@ofbizUrl>LookupLocales</@ofbizUrl>">${uiLabelMap.CommonLanguageTitle} : ${locale.getDisplayName(locale)}</a></li>
             <#if userLogin?exists>