Author: deepak Date: Wed Jan 24 17:46:20 2018 New Revision: 1822133 URL: http://svn.apache.org/viewvc?rev=1822133&view=rev Log: Improved: Update markup of Last Products section according to standard markup given by Bootstrap v4.0.0 (OFBIZ-10169) Thanks Nitish Mishra for your contribution
Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/MiniLastViewedProducts.ftl Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/MiniLastViewedProducts.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/MiniLastViewedProducts.ftl?rev=1822133&r1=1822132&r2=1822133&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/MiniLastViewedProducts.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/MiniLastViewedProducts.ftl Wed Jan 24 17:46:20 2018 @@ -25,26 +25,21 @@ under the License. <#else> <#assign limit=(lastViewedProducts?size-1)/> </#if> - <div id="minilastviewedproducts" class="screenlet"> - <div class="screenlet-title-bar"> - <ul> - <li class="h3">${uiLabelMap.EcommerceLastProducts}</li> - <li> + <div id="minilastviewedproducts" class="card"> + <div class="card-header"> + ${uiLabelMap.EcommerceLastProducts} + <div class="float-right"> <a href="<@ofbizUrl>clearLastViewed</@ofbizUrl>"> [${uiLabelMap.CommonClear}] </a> - </li> - <#if (lastViewedProducts?size > maxToShow)> - <li> - <a href="<@ofbizUrl>lastviewedproducts</@ofbizUrl>"> - [${uiLabelMap.CommonMore}] - </a> - </li> - </#if> - </ul> - <br class="clear"/> + <#if (lastViewedProducts?size > maxToShow)> + <a href="<@ofbizUrl>lastviewedproducts</@ofbizUrl>"> + [${uiLabelMap.CommonMore}] + </a> + </#if> + </div> </div> - <div class="screenlet-body"> + <div class="card-body"> <ul> <#list lastViewedProducts[0..limit] as productId> <li>