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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

jleroux@apache.org
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/release17.12 by this push:
     new 2ba0afe  Fixed: Empty field is reflecting on Contact list section on Profile Page (OFBIZ-10386)
2ba0afe is described below

commit 2ba0afe458e51897b9a354fc3dddc49ad4e38b00
Author: Jacques Le Roux <[hidden email]>
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 0395738..a211e69 100644
--- a/ecommerce/template/customer/ViewProfile.ftl
+++ b/ecommerce/template/customer/ViewProfile.ftl
@@ -509,7 +509,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 00e5cd8..2bddbd0 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"/>