From 5eef045694b8fb864a46bca08cbdf9bb8ce55b5c Mon Sep 17 00:00:00 2001 From: tworrall Date: Fri, 4 Nov 2011 20:58:16 +0000 Subject: [PATCH] first address line that appears is now a link to the address profile; need this until the custom form is ready --- .../individual/propStatement-mailingAddress.ftl | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/productMods/templates/freemarker/body/partials/individual/propStatement-mailingAddress.ftl b/productMods/templates/freemarker/body/partials/individual/propStatement-mailingAddress.ftl index 8ca8f582..6e9eaead 100644 --- a/productMods/templates/freemarker/body/partials/individual/propStatement-mailingAddress.ftl +++ b/productMods/templates/freemarker/body/partials/individual/propStatement-mailingAddress.ftl @@ -14,18 +14,26 @@ <#if ( statement.street1?has_content || statement.street2?has_content || statement.street3?has_content || statement.city?has_content || statement.state?has_content ||statement.postalCode?has_content || statement.country?has_content )> - + <#-- until the custom form is ready, provide a link to the address profile for editing -->
<#if statement.street1?has_content> -
${statement.street1}
+ <#if statement.street2?has_content> -
${statement.street2}
+ <#if !statement.street1?has_content> + + <#else> +
${statement.street2}
+ <#if statement.street3?has_content> -
${statement.street3}
+ <#if !statement.street1?has_content && !statement.street2?has_content> + + <#else> +
${statement.street3}
+ <#-- If the subclass is vivo:US Postal Address, or if the country is