Author: hansbak
Date: Thu Aug 14 06:51:26 2008
New Revision: 685896
URL:
http://svn.apache.org/viewvc?rev=685896&view=revLog:
check for missing data
Modified:
ofbiz/trunk/applications/party/webapp/partymgr/party/profileblocks/Contact.ftl
Modified: ofbiz/trunk/applications/party/webapp/partymgr/party/profileblocks/Contact.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/webapp/partymgr/party/profileblocks/Contact.ftl?rev=685896&r1=685895&r2=685896&view=diff==============================================================================
--- ofbiz/trunk/applications/party/webapp/partymgr/party/profileblocks/Contact.ftl (original)
+++ ofbiz/trunk/applications/party/webapp/partymgr/party/profileblocks/Contact.ftl Thu Aug 14 06:51:26 2008
@@ -58,6 +58,7 @@
</#list>
<#if "POSTAL_ADDRESS" = contactMech.contactMechTypeId>
<#assign postalAddress = contactMechMap.postalAddress>
+ <#if postalAddress?has_content>
<div>
<#if postalAddress.toName?has_content><b>${uiLabelMap.PartyAddrToName}:</b> ${postalAddress.toName}<br /></#if>
<#if postalAddress.attnName?has_content><b>${uiLabelMap.PartyAddrAttnName}:</b> ${postalAddress.attnName}<br /></#if>
@@ -74,6 +75,7 @@
${country.geoName?default(country.geoId)}
</#if>
</div>
+ </#if>
<#if (postalAddress?has_content && !postalAddress.countryGeoId?has_content) || postalAddress.countryGeoId = "USA">
<#assign addr1 = postalAddress.address1?if_exists>
<#if addr1?has_content && (addr1.indexOf(" ") > 0)>