Author: deepak Date: Wed Jan 24 17:47:07 2018 New Revision: 1822135 URL: http://svn.apache.org/viewvc?rev=1822135&view=rev Log: Applied fix from trunk for revision: 1822133 ===
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/branches/release17.12/ (props changed) ofbiz/ofbiz-plugins/branches/release17.12/ecommerce/template/catalog/MiniLastViewedProducts.ftl Propchange: ofbiz/ofbiz-plugins/branches/release17.12/ ------------------------------------------------------------------------------ --- svn:mergeinfo (original) +++ svn:mergeinfo Wed Jan 24 17:47:07 2018 @@ -10,4 +10,4 @@ /ofbiz/branches/json-integration-refactoring/plugins:1634077-1635900 /ofbiz/branches/multitenant20100310/plugins:921280-927264 /ofbiz/branches/release13.07/plugins:1547657 -/ofbiz/ofbiz-plugins/trunk:1819576,1819580,1819582,1819589,1820962,1820973,1821045,1821049,1821051,1822129 +/ofbiz/ofbiz-plugins/trunk:1819576,1819580,1819582,1819589,1820962,1820973,1821045,1821049,1821051,1822129,1822133 Modified: ofbiz/ofbiz-plugins/branches/release17.12/ecommerce/template/catalog/MiniLastViewedProducts.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/branches/release17.12/ecommerce/template/catalog/MiniLastViewedProducts.ftl?rev=1822135&r1=1822134&r2=1822135&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/branches/release17.12/ecommerce/template/catalog/MiniLastViewedProducts.ftl (original) +++ ofbiz/ofbiz-plugins/branches/release17.12/ecommerce/template/catalog/MiniLastViewedProducts.ftl Wed Jan 24 17:47:07 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>