Author: hansbak
Date: Sun May 29 02:32:10 2011
New Revision: 1128807
URL:
http://svn.apache.org/viewvc?rev=1128807&view=revLog:
show new catalogbutton on the find screen
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=1128807&r1=1128806&r2=1128807&view=diff==============================================================================
--- ofbiz/trunk/applications/product/widget/catalog/CatalogMenus.xml (original)
+++ ofbiz/trunk/applications/product/widget/catalog/CatalogMenus.xml Sun May 29 02:32:10 2011
@@ -234,6 +234,9 @@ under the License.
<link target="EditProdCatalog"/>
</menu-item>
<menu-item name="CreateSeo" title="${uiLabelMap.ProductCatalogSeoCreate}">
+ <condition>
+ <if-compare operator="equals" value="ProductCatalog" field="tabButtonItem"/>
+ </condition>
<link target="CreateSeoProdCatalog">
<parameter param-name="prodCatalogId" from-field="parameters.prodCatalogId"/>
</link>
Modified: ofbiz/trunk/applications/product/widget/catalog/CommonScreens.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/widget/catalog/CommonScreens.xml?rev=1128807&r1=1128806&r2=1128807&view=diff==============================================================================
--- ofbiz/trunk/applications/product/widget/catalog/CommonScreens.xml (original)
+++ ofbiz/trunk/applications/product/widget/catalog/CommonScreens.xml Sun May 29 02:32:10 2011
@@ -82,6 +82,9 @@ under the License.
<label style="h1">${uiLabelMap.ProductCatalog} ${uiLabelMap.CommonFor} "${prodCatalog.catalogName}" [${prodCatalogId}]</label>
</container>
</widgets>
+ <fail-widgets>
+ <include-menu name="CatalogSubTabBar" location="component://product/widget/catalog/CatalogMenus.xml"/>
+ </fail-widgets>
</section>
<decorator-section-include name="body"/>
</widgets>