You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by sw...@apache.org on 2019/06/22 09:10:39 UTC

svn commit: r1861824 - /ofbiz/ofbiz-plugins/trunk/ecommerce/template/customer/NewMsg.ftl

Author: swapnilmmane
Date: Sat Jun 22 09:10:39 2019
New Revision: 1861824

URL: http://svn.apache.org/viewvc?rev=1861824&view=rev
Log:
Fixed: UI issue on the Contact Us page of ecommerce application
(OFBIZ-11061)

Steps to regenerate:

1. Navigate to https://demo-trunk.ofbiz.apache.org/ecomseo/
2. Click on Login
3. Enter valid username and password
4. Click on login button
5. Click on Contact Us

Actual: From, subject and message label are not displayed properly on some resolution.

Note: This issue is resolution specific if you are unable to generate the issue then increase the resolution of your screen or zoom in the page on browser

Thanks:  Arpit Mor for reporting and Sasikant Biswal for providing the patch.

Modified:
    ofbiz/ofbiz-plugins/trunk/ecommerce/template/customer/NewMsg.ftl

Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/customer/NewMsg.ftl
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/customer/NewMsg.ftl?rev=1861824&r1=1861823&r2=1861824&view=diff
==============================================================================
--- ofbiz/ofbiz-plugins/trunk/ecommerce/template/customer/NewMsg.ftl (original)
+++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/customer/NewMsg.ftl Sat Jun 22 09:10:39 2019
@@ -46,10 +46,10 @@ under the License.
         <input type="hidden" name="origCommEventId" value="${orgComm}"/>
       </#if>
       <div class="row">
-        <div class="col-1">
+        <div class="col-2">
           <strong>${uiLabelMap.CommonFrom} :</strong>
         </div>
-        <div class="col-11">
+        <div class="col-10">
           ${sessionAttributes.autoName!} [${userLogin.partyId}] (${uiLabelMap.CommonNotYou}?&nbsp;<a
                           href="<@o...@ofbizUrl>" class="buttontext">${uiLabelMap.CommonClickHere}</a>)
         </div>
@@ -60,13 +60,14 @@ under the License.
             Static["org.apache.ofbiz.party.party.PartyHelper"].getPartyName(delegator, partyIdTo, true)>
         <input type="hidden" name="partyIdTo" value="${partyIdTo}"/>
         <div class="row">
-          <div class="col-1">
+          <div class="col-2">
             <strong>${uiLabelMap.CommonTo} :</strong>
           </div>
-          <div class="col-11">
+          <div class="col-10">
             ${partyToName?default("N/A")}
           </div>
         </div>
+        <hr/>
       </#if>
       <#assign defaultSubject = (communicationEvent.subject)?default("")>
       <#if (defaultSubject?length == 0)>
@@ -79,19 +80,19 @@ under the License.
         </#if>
       </#if>
       <div class="row">
-        <div class="col-1">
+        <div class="col-2">
           <strong>${uiLabelMap.EcommerceSubject} :</strong>
         </div>
-        <div class="col-11">
+        <div class="col-10">
           <input type="input" class="inputBox form-control form-control-sm" name="subject" size="20" value="${defaultSubject}"/>
         </div>
       </div>
       <hr/>
       <div class="row">
-        <div class="col-1">
+        <div class="col-2">
           <strong>${uiLabelMap.CommonMessage} :</strong>
         </div>
-        <div class="col-11">
+        <div class="col-10">
           <textarea name="content" class="textAreaBox form-control form-control-sm" rows="5"></textarea>
         </div>
       </div>