svn commit: r1856612 - /ofbiz/ofbiz-plugins/trunk/ecommerce/template/customer/ViewProfile.ftl

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

svn commit: r1856612 - /ofbiz/ofbiz-plugins/trunk/ecommerce/template/customer/ViewProfile.ftl

surajk
Author: surajk
Date: Sat Mar 30 08:31:37 2019
New Revision: 1856612

URL: http://svn.apache.org/viewvc?rev=1856612&view=rev
Log:
Fixed: Upload new file button is not visible on My Profile page.
(OFBIZ-10851)
Thanks Shikha Jaiswal for reporting and providing the patch.

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

Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/customer/ViewProfile.ftl
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/customer/ViewProfile.ftl?rev=1856612&r1=1856611&r2=1856612&view=diff
==============================================================================
--- ofbiz/ofbiz-plugins/trunk/ecommerce/template/customer/ViewProfile.ftl (original)
+++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/customer/ViewProfile.ftl Sat Mar 30 08:31:37 2019
@@ -457,7 +457,7 @@ under the License.
       <#else>
         <p class="card-text">${uiLabelMap.EcommerceNoFiles}</p>
       </#if>
-      <form method="post" class="form-inline" enctype="multipart/form-data" action="<@ofbizUrl>uploadPartyContent</@ofbizUrl>">
+      <form method="post" enctype="multipart/form-data" action="<@ofbizUrl>uploadPartyContent</@ofbizUrl>">
         <input type="hidden" name="partyId" value="${party.partyId}"/>
         <input type="hidden" name="dataCategoryId" value="PERSONAL"/>
         <input type="hidden" name="contentTypeId" value="DOCUMENT"/>
@@ -466,7 +466,7 @@ under the License.
         <label class="mr-2">${uiLabelMap.EcommerceUploadNewFile}</label>
         <label class="custom-file mr-2">
           <input type="file" name="uploadedFile" class="custom-file-input"/>
-          <span class="custom-file-control"></span>
+          <label class="custom-file-label" for="customFile">Choose file</label>
         </label>
         <select name="partyContentTypeId" class="custom-select mr-2">
           <option value="">${uiLabelMap.PartySelectPurpose}</option>