You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2021/05/29 13:47:59 UTC

[ofbiz-plugins] branch trunk updated: Fixed: Empty field is reflecting on Contact list section on Profile Page (OFBIZ-10386)

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

jleroux 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 e51dccb  Fixed: Empty field is reflecting on Contact list section on Profile Page (OFBIZ-10386)
e51dccb is described below

commit e51dccb9bb49f5ed32df0af3f9fd2da88980df56
Author: Jacques Le Roux <ja...@les7arts.com>
AuthorDate: Sat May 29 15:47:21 2021 +0200

    Fixed: Empty field is reflecting on Contact list section on Profile Page (OFBIZ-10386)
    
    Steps to generate:
    
    Open https://demo-trunk.ofbiz.apache.org/ecomseo/viewprofile
    
    On the profile page, Go down to Contact list
    Empty fields are displaying before Verify Subscription button
    
    Expected: The field should have some specifications to be filled up
    
    Thanks: Archana Asthana for report, Devanshu Vyas for suggestion, Praveen Patil
    for patch and Thirumurugan for confirming
---
 ecommerce/template/customer/ViewProfile.ftl | 2 +-
 ecommerce/widget/CommonScreens.xml          | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/ecommerce/template/customer/ViewProfile.ftl b/ecommerce/template/customer/ViewProfile.ftl
index 3e85814..d2ced6e 100644
--- a/ecommerce/template/customer/ViewProfile.ftl
+++ b/ecommerce/template/customer/ViewProfile.ftl
@@ -510,7 +510,7 @@ under the License.
         <th>${uiLabelMap.CommonThruDate}</th>
         <th>${uiLabelMap.CommonStatus}</th>
         <th>${uiLabelMap.CommonEmail}</th>
-        <th></th>
+        <th>${uiLabelMap.MarketingContactListOptInVerifyCode}</th>
         <th></th>
       </tr>
       <#list contactListPartyList as contactListParty>
diff --git a/ecommerce/widget/CommonScreens.xml b/ecommerce/widget/CommonScreens.xml
index 7f54f70..78d50ad 100644
--- a/ecommerce/widget/CommonScreens.xml
+++ b/ecommerce/widget/CommonScreens.xml
@@ -31,6 +31,7 @@ under the License.
                 <property-map resource="AccountingUiLabels" map-name="uiLabelMap" global="true"/>
                 <property-map resource="PartyUiLabels" map-name="uiLabelMap" global="true"/>
                 <property-map resource="OrderUiLabels" map-name="uiLabelMap" global="true"/>
+                <property-map resource="MarketingUiLabels.xml" map-name="uiLabelMap" global="true"/>
 
                 <set field="MainColumnStyle" value="nocolumns" global="true"/>
                 <script location="component://ecommerce/groovyScripts/EcommerceSetup.groovy"/>