Author: erwan
Date: Thu Jan 26 21:31:22 2012 New Revision: 1236391 URL: http://svn.apache.org/viewvc?rev=1236391&view=rev Log: Duplicated menu in product store screens for expand/collapse all field groups Modified: ofbiz/trunk/applications/product/widget/catalog/CatalogMenus.xml ofbiz/trunk/applications/product/widget/catalog/CommonScreens.xml Modified: ofbiz/trunk/applications/product/widget/catalog/CatalogMenus.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/widget/catalog/CatalogMenus.xml?rev=1236391&r1=1236390&r2=1236391&view=diff ============================================================================== --- ofbiz/trunk/applications/product/widget/catalog/CatalogMenus.xml (original) +++ ofbiz/trunk/applications/product/widget/catalog/CatalogMenus.xml Thu Jan 26 21:31:22 2012 @@ -266,9 +266,6 @@ under the License. </menu-item> </menu> <menu name="ProductStoreSubTabBar" menu-container-style="button-bar button-style-2" default-selected-style="selected"> - <menu-item name="EditProductStore" title="${uiLabelMap.ProductNewProductStore}" widget-style="buttontext create"> - <link target="EditProductStore"/> - </menu-item> <menu-item name="Expand" title="${uiLabelMap.CommonExpandAll}"> <condition> <or> Modified: ofbiz/trunk/applications/product/widget/catalog/CommonScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/widget/catalog/CommonScreens.xml?rev=1236391&r1=1236390&r2=1236391&view=diff ============================================================================== --- ofbiz/trunk/applications/product/widget/catalog/CommonScreens.xml (original) +++ ofbiz/trunk/applications/product/widget/catalog/CommonScreens.xml Thu Jan 26 21:31:22 2012 @@ -135,18 +135,11 @@ under the License. <widgets> <container> <include-menu name="ProductStoreTabBar" location="component://product/widget/catalog/CatalogMenus.xml"/> - <include-menu name="ProductStoreSubTabBar" location="component://product/widget/catalog/CatalogMenus.xml"/> <label style="h1">${uiLabelMap[labelTitleProperty]} ${uiLabelMap.CommonFor}: ${productStore.storeName} [${uiLabelMap.CommonId}:${productStoreId}] ${${extraFunctionName}}</label> </container> <section> - <condition> - <if-compare operator="equals" value="EditProductStore" field="tabButtonItem"/> - </condition> <widgets> - <container style="button-bar"> - <link target="javascript:expandAll(true);" text="${uiLabelMap.CommonExpandAll}" style="buttontext" url-mode="plain"/> - <link target="javascript:expandAll(false);" text="${uiLabelMap.CommonCollapseAll}" style="buttontext" url-mode="plain"/> - </container> + <include-menu name="ProductStoreSubTabBar" location="component://product/widget/catalog/CatalogMenus.xml"/> </widgets> </section> </widgets> @@ -156,7 +149,9 @@ under the License. <if-compare operator="not-equals" value="EditProductStore" field="tabButtonItem"/> </condition> <widgets> - <include-menu name="ProductStoreSubTabBar" location="component://product/widget/catalog/CatalogMenus.xml"/> + <container style="button-bar button-style-2"> + <link target="EditProductStore" text="${uiLabelMap.ProductNewProductStore}" style="buttontext create" url-mode="plain"/> + </container> </widgets> </section> </fail-widgets> |
Free forum by Nabble | Edit this page |