[OFBiz] SVN: r6033 -
trunk/applications/order/webapp/ordermgr/entry/catalog
jacopo at svn.ofbiz.org
jacopo at svn.ofbiz.org
Sat Oct 29 04:57:57 EDT 2005
Author: jacopo
Date: 2005-10-29 03:57:51 -0500 (Sat, 29 Oct 2005)
New Revision: 6033
Modified:
trunk/applications/order/webapp/ordermgr/entry/catalog/productdetail.ftl
Log:
Applied patch to display featureType descriptions instead of id for product's distinguishing features (thanks to Bradley Plies for the report OFBIZ-508).
Modified: trunk/applications/order/webapp/ordermgr/entry/catalog/productdetail.ftl
===================================================================
--- trunk/applications/order/webapp/ordermgr/entry/catalog/productdetail.ftl 2005-10-28 23:31:51 UTC (rev 6032)
+++ trunk/applications/order/webapp/ordermgr/entry/catalog/productdetail.ftl 2005-10-29 08:57:51 UTC (rev 6033)
@@ -338,8 +338,9 @@
<#if disFeatureList?exists && 0 < disFeatureList.size()>
<p> </p>
<#list disFeatureList as currentFeature>
+ <#assign disFeatureType = currentFeature.getRelatedOne("ProductFeatureType")/>
<div class="tabletext">
- ${currentFeature.productFeatureTypeId}: ${currentFeature.description}
+ <#if disFeatureType.description?exists>${disFeatureType.description}<#else>${currentFeature.productFeatureTypeId}</#if>: ${currentFeature.description}
</div>
</#list>
<div class="tabletext"> </div>
More information about the Svn
mailing list