svn commit: r1845123 - in /ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog: CategoryDetail.ftl ProductSummary.ftl ShowBestSellingCategory.ftl

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

svn commit: r1845123 - in /ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog: CategoryDetail.ftl ProductSummary.ftl ShowBestSellingCategory.ftl

jleroux@apache.org
Author: jleroux
Date: Mon Oct 29 13:32:52 2018
New Revision: 1845123

URL: http://svn.apache.org/viewvc?rev=1845123&view=rev
Log:
Improved: Cart summary section distorted
(OFBIZ-10385)

Navigate to the storefront.
https://demo-trunk.ofbiz.apache.org/ecommerce/control/main 
Add items to the cart.
Check the cart summary section.
Actual:
Cart summary section getting distorted on adding items to the cart

After an issue with r1841672, Garima Jain fixed it by
"Modifiyng the grid classes so that the UI looks good on large screen desktop
as well as on medium screen desktop width < 1440px or greater than 1024px.

Thanks: Padmavati Rawat for report, Surak for previous commit and Garima for
the last fix

Modified:
    ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/CategoryDetail.ftl
    ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/ProductSummary.ftl
    ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/ShowBestSellingCategory.ftl

Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/CategoryDetail.ftl
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/CategoryDetail.ftl?rev=1845123&r1=1845122&r2=1845123&view=diff
==============================================================================
--- ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/CategoryDetail.ftl (original)
+++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/CategoryDetail.ftl Mon Oct 29 13:32:52 2018
@@ -44,7 +44,7 @@
     <#local viewIndexMax = Static["java.lang.Math"].ceil((listSize)?double / viewSize?double)/>
     <#if (viewIndexMax?int > 0)>
       <div class="row">
-        <div class="col-sm-2 offset-sm-10">
+        <div class="col-sm-4 offset-sm-8">
       <div class="product-prevnext px-2 py-1">
         <select name="pageSelect" onchange="callDocumentByPaginate(this[this.selectedIndex].value);" class="form-control">
           <option value="#">${uiLabelMap.CommonPage} ${viewIndex?int + 1} ${uiLabelMap.CommonOf} ${viewIndexMax}</option>

Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/ProductSummary.ftl
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/ProductSummary.ftl?rev=1845123&r1=1845122&r2=1845123&view=diff
==============================================================================
--- ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/ProductSummary.ftl (original)
+++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/ProductSummary.ftl Mon Oct 29 13:32:52 2018
@@ -72,7 +72,7 @@
               <#assign productDetailId = "productDetailId"/>
               <#assign productDetailId = productDetailId + product.productId/>
 
-              <div class="col-md-3 products-card">
+              <div class="col-md-4 products-card">
                 <div class="card text-center">
                   <a href="${productUrl}">
                     <img class="card-img-top" src="<@ofbizContentUrl>${contentPathPrefix!}${smallImageUrl}</@ofbizContentUrl>" alt="Small Image">

Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/ShowBestSellingCategory.ftl
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/ShowBestSellingCategory.ftl?rev=1845123&r1=1845122&r2=1845123&view=diff
==============================================================================
--- ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/ShowBestSellingCategory.ftl (original)
+++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/ShowBestSellingCategory.ftl Mon Oct 29 13:32:52 2018
@@ -29,7 +29,7 @@ under the License.
             <#assign cateCount = 0/>
 
             <#list childCategoryList as productCategory>
-              <div class="products-card col-md-3">
+              <div class="products-card col-md-4">
             <#if (cateCount > 2)>
             <#assign cateCount = 0/>
             </#if>