This is an automated email from the ASF dual-hosted git repository.

nmalin pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-plugins.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 7b37304  Fixed: ecommerce head title, no ':' if no title or 
titleProperty (OFBIZ-12326)
7b37304 is described below

commit 7b373040435460e914b4147edb25f3f525d70851
Author: Nicolas Malin <nicolas.ma...@nereide.fr>
AuthorDate: Tue Sep 28 16:35:14 2021 +0200

    Fixed: ecommerce head title, no ':' if no title or titleProperty 
(OFBIZ-12326)
    
    When the page title is empty, avoid the ':' in the navigator tabs title for 
Ecommerce
    
    Thanks: Charles STELTZLEN
---
 ecommerce/template/includes/HeaderHead.ftl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ecommerce/template/includes/HeaderHead.ftl 
b/ecommerce/template/includes/HeaderHead.ftl
index 75c21c7..c1a007c 100644
--- a/ecommerce/template/includes/HeaderHead.ftl
+++ b/ecommerce/template/includes/HeaderHead.ftl
@@ -30,8 +30,8 @@ under the License.
     <meta name="csrf-token" content="<@csrfTokenAjax/>"/>
   </#if>
   
-  <title><#if title?has_content>${title}<#elseif 
titleProperty?has_content>${uiLabelMap.get(titleProperty)}</#if>
-    : ${(productStore.storeName)!}
+  <title><#if title?has_content>${title}: <#elseif 
titleProperty?has_content>${uiLabelMap.get(titleProperty)}: </#if>
+    ${(productStore.storeName)!}
   </title>
   <#if layoutSettings.VT_SHORTCUT_ICON?has_content>
     <#assign shortcutIcon = layoutSettings.VT_SHORTCUT_ICON/>

Reply via email to