You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ja...@apache.org on 2006/10/06 09:18:34 UTC
svn commit: r453519 -
/incubator/ofbiz/trunk/applications/order/webapp/ordermgr/order/companyHeader.fo.ftl
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>