Author: deepak Date: Sat Jan 12 06:46:53 2019 New Revision: 1851140 URL: http://svn.apache.org/viewvc?rev=1851140&view=rev Log: Fixed:List Request page seems distorted of ecommerce component (OFBIZ-10621) Thanks Garima jain for reporting the issue. Set the col class based on right/left screen inclusion
Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/widget/CommonScreens.xml Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/widget/CommonScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/widget/CommonScreens.xml?rev=1851140&r1=1851139&r2=1851140&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/widget/CommonScreens.xml (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/widget/CommonScreens.xml Sat Jan 12 06:46:53 2019 @@ -49,6 +49,11 @@ under the License. <field-map field-name="webSiteId"/> </entity-and> <set field="layoutSettings.javaScripts[]" value="/common/js/util/miscAjaxFunctions.js" global="true" /> + <set field="bodyStyle" value="${groovy: + if(sections?.get("left-column") && sections?.get("right-column")) "col-lg-6" + else if (sections?.get("left-column") || sections?.get("right-column")) "col-lg-9" + else "col-lg-12" + }"/> </actions> <widgets> <section> @@ -74,7 +79,7 @@ under the License. </container> </widgets> </section> - <container id="div3" style="col-lg-6 order-lg-2 order-1"> + <container id="div3" style="${bodyStyle} order-lg-2 order-1"> <!-- render messages --> <platform-specific><html><html-template location="component://common-theme/template/includes/Messages.ftl"/></html></platform-specific> <decorator-section-include name="body"/>