CRM-16558 - Remove Update Subscription URL link from recurring contribution emails...
[civicrm-core.git] / xml / templates / message_templates / contribution_recurring_notify_text.tpl
index 6146808ce2456716fe325835a6bea41ab5579c82..46aa380a370c47b803136620a5720749d88909cc 100644 (file)
@@ -9,8 +9,10 @@
 
 {ts 1=$cancelSubscriptionUrl}This membership will be renewed automatically. You can cancel the auto-renewal option by <a href="%1">visiting this web page</a>.{/ts}
 
+{if $updateSubscriptionBillingUrl}
 {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by <a href="%1">visiting this web page</a>.{/ts}
 
+{/if}
 {else}
 {ts}Thanks for your recurring contribution sign-up.{/ts}
 
 
 {ts 1=$cancelSubscriptionUrl}You can cancel the recurring contribution option by <a href="%1">visiting this web page</a>.{/ts}
 
+{if $updateSubscriptionBillingUrl}
 {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this recurring contribution by <a href="%1">visiting this web page</a>.{/ts}
 
+{/if}
 {ts 1=$updateSubscriptionUrl}You can update recurring contribution amount or change the number of installments for this recurring contribution by <a href="%1">visiting this web page</a>.{/ts}
 {/if}