You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2007/04/22 19:23:48 UTC

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

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>