Applied patch from OFBIZ-4511 - Non-standard markup for categories screenlet.

Thanks Anne for creating the issue and providing the first patch. Thanks Arun for providing the updated patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1646944 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Ashish Vijaywargiya
2014-12-20 10:23:47 +00:00
parent bc78f8985d
commit 4bbbf895a8
5 changed files with 21 additions and 3 deletions
@@ -1759,6 +1759,9 @@
<value xml:lang="zh">最近浏览</value>
<value xml:lang="zh_TW">最近看過</value>
</property>
<property key="EcommerceLayeredNavigation">
<value xml:lang="en">Layered Navigation</value>
</property>
<property key="EcommerceLength">
<value xml:lang="da">Længde</value>
<value xml:lang="de">Länge</value>
@@ -19,7 +19,11 @@ under the License.
<#if currentSearchCategory??>
<div id="layeredNav" class="screenlet">
<h3>Layered Navigation</h3>
<div class="screenlet-title-bar">
<ul>
<li class="h3">${uiLabelMap.EcommerceLayeredNavigation}</li>
</ul>
</div>
<#escape x as x?xml>
<#if productCategory.productCategoryId != currentSearchCategory.productCategoryId>
<#assign currentSearchCategoryName = categoryContentWrapper.get("CATEGORY_NAME")?string />
@@ -199,7 +199,11 @@ var rawdata = [
<div id="quickadd" class="screenlet">
<h3>${uiLabelMap.ProductCategories}</h3>
<div class="screenlet-title-bar">
<ul>
<li class="h3">${uiLabelMap.ProductCategories}</li>
</ul>
</div>
<div class="screenlet-body" id="tree">
</div>
</div>
@@ -18,7 +18,11 @@ under the License.
-->
<#if reorderProducts?has_content>
<div id ="minireorderprods" class="screenlet">
<h3>${uiLabelMap.ProductQuickReorder}...</h3>
<div class="screenlet-title-bar">
<ul>
<li class="h3">${uiLabelMap.ProductQuickReorder}...</li>
</ul>
</div>
<div class="screenlet-body">
<#list reorderProducts as miniProduct>
<div>
@@ -475,6 +475,9 @@ under the License.
</screen>
<screen name="LayeredNavBar">
<section>
<actions>
<property-map resource="EcommerceUiLabels" map-name="uiLabelMap" global="true"/>
</actions>
<widgets>
<platform-specific><html><html-template location="component://ecommerce/webapp/ecommerce/catalog/LayeredNavBar.ftl"/></html></platform-specific>
</widgets>