svn commit: r531233 - /ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/productdetail.ftl

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r531233 - /ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/productdetail.ftl

jleroux@apache.org
Author: jleroux
Date: Sun Apr 22 10:23:47 2007
New Revision: 531233

URL: http://svn.apache.org/viewvc?view=rev&rev=531233
Log:
A patch from Nicolas Malin "productdetail.ftl internationalisation" (https://issues.apache.org/jira/browse/OFBIZ-910).

Modified:
    ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/productdetail.ftl

Modified: ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/productdetail.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/productdetail.ftl?view=diff&rev=531233&r1=531232&r2=531233
==============================================================================
--- ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/productdetail.ftl (original)
+++ ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/productdetail.ftl Sun Apr 22 10:23:47 2007
@@ -349,7 +349,7 @@
         <#list disFeatureList as currentFeature>
             <#assign disFeatureType = currentFeature.getRelatedOneCache("ProductFeatureType")/>
             <div class="tabletext">
-                <#if disFeatureType.description?exists>${disFeatureType.description}<#else>${currentFeature.productFeatureTypeId}</#if>:&nbsp;${currentFeature.description}
+                <#if disFeatureType.description?exists>${disFeatureType.get("description", locale)}<#else>${currentFeature.productFeatureTypeId}</#if>:&nbsp;${currentFeature.description}
             </div>
         </#list>
             <div class="tabletext">&nbsp;</div>