svn commit: r453519 - /incubator/ofbiz/trunk/applications/order/webapp/ordermgr/order/companyHeader.fo.ftl

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

svn commit: r453519 - /incubator/ofbiz/trunk/applications/order/webapp/ordermgr/order/companyHeader.fo.ftl

jacopoc
Author: jacopoc
Date: Fri Oct  6 00:18:33 2006
New Revision: 453519

URL: http://svn.apache.org/viewvc?view=rev&rev=453519
Log:
Improved the layout of the phone number when country or area codes are missing.
A (slightly modified) patch from Chris Howe (OFBIZ-353).

Modified:
    incubator/ofbiz/trunk/applications/order/webapp/ordermgr/order/companyHeader.fo.ftl

Modified: incubator/ofbiz/trunk/applications/order/webapp/ordermgr/order/companyHeader.fo.ftl
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/order/webapp/ordermgr/order/companyHeader.fo.ftl?view=diff&rev=453519&r1=453518&r2=453519
==============================================================================
--- incubator/ofbiz/trunk/applications/order/webapp/ordermgr/order/companyHeader.fo.ftl (original)
+++ incubator/ofbiz/trunk/applications/order/webapp/ordermgr/order/companyHeader.fo.ftl Fri Oct  6 00:18:33 2006
@@ -49,7 +49,7 @@
                     <#if phone?exists>
                     <fo:table-row>
                       <fo:table-cell><fo:block>${uiLabelMap.CommonTelephoneAbbr}:</fo:block></fo:table-cell>
-                      <fo:table-cell><fo:block>${phone.countryCode?if_exists}-${phone.areaCode?if_exists}-${phone.contactNumber?if_exists}</fo:block></fo:table-cell>
+                      <fo:table-cell><fo:block><#if phone.countryCode?exists>${phone.countryCode}-</#if><#if phone.areaCode?exists>${phone.areaCode}-</#if>${phone.contactNumber?if_exists}</fo:block></fo:table-cell>
                     </fo:table-row>
                     </#if>