From 76d526dab3e96fafb8325967937a46231c8feea5 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Fri, 19 Aug 2022 19:18:51 +1200 Subject: [PATCH] User preferred token over deprecated in templates --- .../message_templates/contribution_offline_receipt_html.tpl | 2 +- .../message_templates/contribution_offline_receipt_text.tpl | 2 +- .../message_templates/contribution_online_receipt_html.tpl | 2 +- .../message_templates/contribution_online_receipt_text.tpl | 2 +- .../message_templates/contribution_recurring_billing_html.tpl | 2 +- .../message_templates/contribution_recurring_billing_text.tpl | 2 +- .../message_templates/contribution_recurring_cancelled_html.tpl | 2 +- .../message_templates/contribution_recurring_cancelled_text.tpl | 2 +- .../message_templates/contribution_recurring_edit_html.tpl | 2 +- .../message_templates/contribution_recurring_edit_text.tpl | 2 +- .../message_templates/contribution_recurring_notify_html.tpl | 2 +- .../message_templates/contribution_recurring_notify_text.tpl | 2 +- xml/templates/message_templates/event_offline_receipt_html.tpl | 2 +- xml/templates/message_templates/event_offline_receipt_text.tpl | 2 +- xml/templates/message_templates/event_online_receipt_html.tpl | 2 +- xml/templates/message_templates/event_online_receipt_text.tpl | 2 +- .../message_templates/event_registration_receipt_html.tpl | 2 +- .../message_templates/event_registration_receipt_text.tpl | 2 +- .../message_templates/membership_autorenew_billing_html.tpl | 2 +- .../message_templates/membership_autorenew_billing_text.tpl | 2 +- .../message_templates/membership_autorenew_cancelled_html.tpl | 2 +- .../message_templates/membership_autorenew_cancelled_text.tpl | 2 +- .../message_templates/membership_offline_receipt_html.tpl | 2 +- .../message_templates/membership_offline_receipt_text.tpl | 2 +- .../message_templates/membership_online_receipt_html.tpl | 2 +- .../message_templates/membership_online_receipt_text.tpl | 2 +- .../message_templates/participant_transferred_html.tpl | 2 +- .../message_templates/participant_transferred_text.tpl | 2 +- .../message_templates/payment_or_refund_notification_html.tpl | 2 +- xml/templates/message_templates/pcp_owner_notify_html.tpl | 2 +- xml/templates/message_templates/pcp_owner_notify_text.tpl | 2 +- xml/templates/message_templates/pcp_supporter_notify_html.tpl | 2 +- xml/templates/message_templates/pcp_supporter_notify_text.tpl | 2 +- .../message_templates/petition_confirmation_needed_html.tpl | 2 +- .../message_templates/petition_confirmation_needed_text.tpl | 2 +- xml/templates/message_templates/petition_sign_html.tpl | 2 +- xml/templates/message_templates/petition_sign_text.tpl | 2 +- .../Sample Responsive Design Newsletter - Single Column.tpl | 2 +- 38 files changed, 38 insertions(+), 38 deletions(-) diff --git a/xml/templates/message_templates/contribution_offline_receipt_html.tpl b/xml/templates/message_templates/contribution_offline_receipt_html.tpl index 4a7aab7277..3772ddd5ee 100644 --- a/xml/templates/message_templates/contribution_offline_receipt_html.tpl +++ b/xml/templates/message_templates/contribution_offline_receipt_html.tpl @@ -20,7 +20,7 @@ - {assign var="greeting" value="{contact.email_greeting}"}{if $greeting}

{$greeting},

{/if} + {assign var="greeting" value="{contact.email_greeting_display}"}{if $greeting}

{$greeting},

{/if} {if !empty($formValues.receipt_text)}

{$formValues.receipt_text|htmlize}

{else} diff --git a/xml/templates/message_templates/contribution_offline_receipt_text.tpl b/xml/templates/message_templates/contribution_offline_receipt_text.tpl index cce51738ef..94f68e6e01 100644 --- a/xml/templates/message_templates/contribution_offline_receipt_text.tpl +++ b/xml/templates/message_templates/contribution_offline_receipt_text.tpl @@ -1,4 +1,4 @@ -{assign var="greeting" value="{contact.email_greeting}"}{if $greeting}{$greeting},{/if} +{assign var="greeting" value="{contact.email_greeting_display}"}{if $greeting}{$greeting},{/if} {if !empty($formValues.receipt_text)} {$formValues.receipt_text} diff --git a/xml/templates/message_templates/contribution_online_receipt_html.tpl b/xml/templates/message_templates/contribution_online_receipt_html.tpl index 4bd7db5185..507bc56fd8 100644 --- a/xml/templates/message_templates/contribution_online_receipt_html.tpl +++ b/xml/templates/message_templates/contribution_online_receipt_html.tpl @@ -20,7 +20,7 @@ - {assign var="greeting" value="{contact.email_greeting}"}{if $greeting}

{$greeting},

{/if} + {assign var="greeting" value="{contact.email_greeting_display}"}{if $greeting}

{$greeting},

{/if} {if !empty($receipt_text)}

{$receipt_text|htmlize}

{/if} diff --git a/xml/templates/message_templates/contribution_online_receipt_text.tpl b/xml/templates/message_templates/contribution_online_receipt_text.tpl index c2122c045f..25f8572cef 100644 --- a/xml/templates/message_templates/contribution_online_receipt_text.tpl +++ b/xml/templates/message_templates/contribution_online_receipt_text.tpl @@ -1,4 +1,4 @@ -{assign var="greeting" value="{contact.email_greeting}"}{if $greeting}{$greeting},{/if} +{assign var="greeting" value="{contact.email_greeting_display}"}{if $greeting}{$greeting},{/if} {if !empty($receipt_text)} {$receipt_text} {/if} diff --git a/xml/templates/message_templates/contribution_recurring_billing_html.tpl b/xml/templates/message_templates/contribution_recurring_billing_html.tpl index ab2b2657ab..84d6938af0 100644 --- a/xml/templates/message_templates/contribution_recurring_billing_html.tpl +++ b/xml/templates/message_templates/contribution_recurring_billing_html.tpl @@ -20,7 +20,7 @@ - {assign var="greeting" value="{contact.email_greeting}"}{if $greeting}

{$greeting},

{/if} + {assign var="greeting" value="{contact.email_greeting_display}"}{if $greeting}

{$greeting},

{/if}

{ts 1=$amount 2=$recur_frequency_interval 3=$recur_frequency_unit}Billing details for your recurring contribution of %1, every %2 %3 have been updated.{/ts}

diff --git a/xml/templates/message_templates/contribution_recurring_billing_text.tpl b/xml/templates/message_templates/contribution_recurring_billing_text.tpl index c71682e907..26f7e23f31 100644 --- a/xml/templates/message_templates/contribution_recurring_billing_text.tpl +++ b/xml/templates/message_templates/contribution_recurring_billing_text.tpl @@ -1,4 +1,4 @@ -{assign var="greeting" value="{contact.email_greeting}"}{if $greeting}{$greeting},{/if} +{assign var="greeting" value="{contact.email_greeting_display}"}{if $greeting}{$greeting},{/if} {ts 1=$amount 2=$recur_frequency_interval 3=$recur_frequency_unit}Billing details for your recurring contribution of %1, every %2 %3 have been updated.{/ts} diff --git a/xml/templates/message_templates/contribution_recurring_cancelled_html.tpl b/xml/templates/message_templates/contribution_recurring_cancelled_html.tpl index 353a95d534..ac2c48790e 100644 --- a/xml/templates/message_templates/contribution_recurring_cancelled_html.tpl +++ b/xml/templates/message_templates/contribution_recurring_cancelled_html.tpl @@ -20,7 +20,7 @@ - {assign var="greeting" value="{contact.email_greeting}"}{if $greeting}

{$greeting},

{/if} + {assign var="greeting" value="{contact.email_greeting_display}"}{if $greeting}

{$greeting},

{/if}

{ts 1=$amount 2=$recur_frequency_interval 3=$recur_frequency_unit}Your recurring contribution of %1, every %2 %3 has been cancelled as requested.{/ts}

diff --git a/xml/templates/message_templates/contribution_recurring_cancelled_text.tpl b/xml/templates/message_templates/contribution_recurring_cancelled_text.tpl index 0b23d8eac0..d48b091bc5 100644 --- a/xml/templates/message_templates/contribution_recurring_cancelled_text.tpl +++ b/xml/templates/message_templates/contribution_recurring_cancelled_text.tpl @@ -1,3 +1,3 @@ -{assign var="greeting" value="{contact.email_greeting}"}{if $greeting}{$greeting},{/if} +{assign var="greeting" value="{contact.email_greeting_display}"}{if $greeting}{$greeting},{/if} {ts 1=$amount 2=$recur_frequency_interval 3=$recur_frequency_unit}Your recurring contribution of %1, every %2 %3 has been cancelled as requested.{/ts} diff --git a/xml/templates/message_templates/contribution_recurring_edit_html.tpl b/xml/templates/message_templates/contribution_recurring_edit_html.tpl index 433cf17504..a4a89db2f3 100644 --- a/xml/templates/message_templates/contribution_recurring_edit_html.tpl +++ b/xml/templates/message_templates/contribution_recurring_edit_html.tpl @@ -20,7 +20,7 @@ - {assign var="greeting" value="{contact.email_greeting}"}{if $greeting}

{$greeting},

{/if} + {assign var="greeting" value="{contact.email_greeting_display}"}{if $greeting}

{$greeting},

{/if}

{ts}Your recurring contribution has been updated as requested:{/ts}

{ts 1=$amount 2=$recur_frequency_interval 3=$recur_frequency_unit}Recurring contribution is for %1, every %2 %3(s){/ts}{if $installments}{ts 1=$installments} for %1 installments{/ts}{/if}.

diff --git a/xml/templates/message_templates/contribution_recurring_edit_text.tpl b/xml/templates/message_templates/contribution_recurring_edit_text.tpl index af99606cd1..1d20d08f6e 100644 --- a/xml/templates/message_templates/contribution_recurring_edit_text.tpl +++ b/xml/templates/message_templates/contribution_recurring_edit_text.tpl @@ -1,4 +1,4 @@ -{assign var="greeting" value="{contact.email_greeting}"}{if $greeting}{$greeting},{/if} +{assign var="greeting" value="{contact.email_greeting_display}"}{if $greeting}{$greeting},{/if} {ts}Your recurring contribution has been updated as requested:{/ts} diff --git a/xml/templates/message_templates/contribution_recurring_notify_html.tpl b/xml/templates/message_templates/contribution_recurring_notify_html.tpl index 3be0cc8fe5..22d39121b4 100644 --- a/xml/templates/message_templates/contribution_recurring_notify_html.tpl +++ b/xml/templates/message_templates/contribution_recurring_notify_html.tpl @@ -20,7 +20,7 @@ - {assign var="greeting" value="{contact.email_greeting}"}{if $greeting}

{$greeting},

{/if} + {assign var="greeting" value="{contact.email_greeting_display}"}{if $greeting}

{$greeting},

{/if} diff --git a/xml/templates/message_templates/contribution_recurring_notify_text.tpl b/xml/templates/message_templates/contribution_recurring_notify_text.tpl index 687d61e91f..6aead9e1a5 100644 --- a/xml/templates/message_templates/contribution_recurring_notify_text.tpl +++ b/xml/templates/message_templates/contribution_recurring_notify_text.tpl @@ -1,4 +1,4 @@ -{assign var="greeting" value="{contact.email_greeting}"}{if $greeting}{$greeting},{/if} +{assign var="greeting" value="{contact.email_greeting_display}"}{if $greeting}{$greeting},{/if} {if $recur_txnType eq 'START'} {if $auto_renew_membership} diff --git a/xml/templates/message_templates/event_offline_receipt_html.tpl b/xml/templates/message_templates/event_offline_receipt_html.tpl index 15cee91f4a..61526928ab 100644 --- a/xml/templates/message_templates/event_offline_receipt_html.tpl +++ b/xml/templates/message_templates/event_offline_receipt_html.tpl @@ -20,7 +20,7 @@ - {assign var="greeting" value="{contact.email_greeting}"}{if $greeting}

{$greeting},

{/if} + {assign var="greeting" value="{contact.email_greeting_display}"}{if $greeting}

{$greeting},

{/if} {if !empty($event.confirm_email_text) AND (empty($isOnWaitlist) AND empty($isRequireApproval))}

{$event.confirm_email_text|htmlize}

diff --git a/xml/templates/message_templates/event_offline_receipt_text.tpl b/xml/templates/message_templates/event_offline_receipt_text.tpl index a37f38e352..f41c0a20f6 100644 --- a/xml/templates/message_templates/event_offline_receipt_text.tpl +++ b/xml/templates/message_templates/event_offline_receipt_text.tpl @@ -1,4 +1,4 @@ -{assign var="greeting" value="{contact.email_greeting}"}{if $greeting}{$greeting},{/if} +{assign var="greeting" value="{contact.email_greeting_display}"}{if $greeting}{$greeting},{/if} {if !empty($event.confirm_email_text) AND (empty($isOnWaitlist) AND empty($isRequireApproval))} {$event.confirm_email_text} {/if} diff --git a/xml/templates/message_templates/event_online_receipt_html.tpl b/xml/templates/message_templates/event_online_receipt_html.tpl index 6bc51ef4cc..366a05b848 100644 --- a/xml/templates/message_templates/event_online_receipt_html.tpl +++ b/xml/templates/message_templates/event_online_receipt_html.tpl @@ -24,7 +24,7 @@ - {assign var="greeting" value="{contact.email_greeting}"}{if $greeting}

{$greeting},

{/if} + {assign var="greeting" value="{contact.email_greeting_display}"}{if $greeting}

{$greeting},

{/if} {if !empty($event.confirm_email_text) AND (empty($isOnWaitlist) AND empty($isRequireApproval))}

{$event.confirm_email_text|htmlize}

diff --git a/xml/templates/message_templates/event_online_receipt_text.tpl b/xml/templates/message_templates/event_online_receipt_text.tpl index 893d3ff5c3..96dc5075ce 100644 --- a/xml/templates/message_templates/event_online_receipt_text.tpl +++ b/xml/templates/message_templates/event_online_receipt_text.tpl @@ -1,4 +1,4 @@ -{assign var="greeting" value="{contact.email_greeting}"}{if $greeting}{$greeting},{/if} +{assign var="greeting" value="{contact.email_greeting_display}"}{if $greeting}{$greeting},{/if} {if !empty($event.confirm_email_text) AND (empty($isOnWaitlist) AND empty($isRequireApproval))} {$event.confirm_email_text} diff --git a/xml/templates/message_templates/event_registration_receipt_html.tpl b/xml/templates/message_templates/event_registration_receipt_html.tpl index 78037cde98..4dbb912e0f 100644 --- a/xml/templates/message_templates/event_registration_receipt_html.tpl +++ b/xml/templates/message_templates/event_registration_receipt_html.tpl @@ -9,7 +9,7 @@ {capture assign=labelStyle }style="padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;"{/capture} {capture assign=valueStyle }style="padding: 4px; border-bottom: 1px solid #999;"{/capture} - {assign var="greeting" value="{contact.email_greeting}"}{if $greeting}

{$greeting},

{/if} + {assign var="greeting" value="{contact.email_greeting_display}"}{if $greeting}

{$greeting},

{/if} {if $is_pay_later}

This is being sent to you as an acknowledgement that you have registered one or more members for the following workshop, event or purchase. Please note, however, that the status of your payment is pending, and the registration for this event will not be completed until your payment is received. diff --git a/xml/templates/message_templates/event_registration_receipt_text.tpl b/xml/templates/message_templates/event_registration_receipt_text.tpl index 70cd581922..a4c482234b 100644 --- a/xml/templates/message_templates/event_registration_receipt_text.tpl +++ b/xml/templates/message_templates/event_registration_receipt_text.tpl @@ -1,4 +1,4 @@ -{assign var="greeting" value="{contact.email_greeting}"}{if $greeting}{$greeting},{/if} +{assign var="greeting" value="{contact.email_greeting_display}"}{if $greeting}{$greeting},{/if} {if $is_pay_later} This is being sent to you as an acknowledgement that you have registered one or more members for the following workshop, event or purchase. Please note, however, that the status of your payment is pending, and the registration for this event will not be completed until your payment is received. diff --git a/xml/templates/message_templates/membership_autorenew_billing_html.tpl b/xml/templates/message_templates/membership_autorenew_billing_html.tpl index 0a1b0f3386..10719b4ddb 100644 --- a/xml/templates/message_templates/membership_autorenew_billing_html.tpl +++ b/xml/templates/message_templates/membership_autorenew_billing_html.tpl @@ -20,7 +20,7 @@ - {assign var="greeting" value="{contact.email_greeting}"}{if $greeting}

{$greeting},

{/if} + {assign var="greeting" value="{contact.email_greeting_display}"}{if $greeting}

{$greeting},

{/if}

{ts 1=$membershipType}Billing details for your automatically renewed %1 membership have been updated.{/ts}

diff --git a/xml/templates/message_templates/membership_autorenew_billing_text.tpl b/xml/templates/message_templates/membership_autorenew_billing_text.tpl index dcd942971c..437fc2872c 100644 --- a/xml/templates/message_templates/membership_autorenew_billing_text.tpl +++ b/xml/templates/message_templates/membership_autorenew_billing_text.tpl @@ -1,4 +1,4 @@ -{assign var="greeting" value="{contact.email_greeting}"}{if $greeting}{$greeting},{/if} +{assign var="greeting" value="{contact.email_greeting_display}"}{if $greeting}{$greeting},{/if} {ts 1=$membershipType}Billing details for your automatically renewed %1 membership have been updated.{/ts} diff --git a/xml/templates/message_templates/membership_autorenew_cancelled_html.tpl b/xml/templates/message_templates/membership_autorenew_cancelled_html.tpl index dbd6519bdd..6c8ccdb379 100644 --- a/xml/templates/message_templates/membership_autorenew_cancelled_html.tpl +++ b/xml/templates/message_templates/membership_autorenew_cancelled_html.tpl @@ -20,7 +20,7 @@ - {assign var="greeting" value="{contact.email_greeting}"}{if $greeting}

{$greeting},

{/if} + {assign var="greeting" value="{contact.email_greeting_display}"}{if $greeting}

{$greeting},

{/if}

{ts 1=$membershipType}The automatic renewal of your %1 membership has been cancelled as requested. This does not affect the status of your membership - you will receive a separate notification when your membership is up for renewal.{/ts}

diff --git a/xml/templates/message_templates/membership_autorenew_cancelled_text.tpl b/xml/templates/message_templates/membership_autorenew_cancelled_text.tpl index 15387b63de..11806cc784 100644 --- a/xml/templates/message_templates/membership_autorenew_cancelled_text.tpl +++ b/xml/templates/message_templates/membership_autorenew_cancelled_text.tpl @@ -1,4 +1,4 @@ -{assign var="greeting" value="{contact.email_greeting}"}{if $greeting}{$greeting},{/if} +{assign var="greeting" value="{contact.email_greeting_display}"}{if $greeting}{$greeting},{/if} {ts 1=$membershipType}The automatic renewal of your %1 membership has been cancelled as requested. This does not affect the status of your membership - you will receive a separate notification when your membership is up for renewal.{/ts} diff --git a/xml/templates/message_templates/membership_offline_receipt_html.tpl b/xml/templates/message_templates/membership_offline_receipt_html.tpl index 2dede870b0..03e5be8a8c 100644 --- a/xml/templates/message_templates/membership_offline_receipt_html.tpl +++ b/xml/templates/message_templates/membership_offline_receipt_html.tpl @@ -22,7 +22,7 @@ - {assign var="greeting" value="{contact.email_greeting}"}{if $greeting}

{$greeting},

{/if} + {assign var="greeting" value="{contact.email_greeting_display}"}{if $greeting}

{$greeting},

{/if} {if $receipt_text}

{$receipt_text|htmlize}

{ts}Thank you for this contribution.{/ts}

diff --git a/xml/templates/message_templates/membership_offline_receipt_text.tpl b/xml/templates/message_templates/membership_offline_receipt_text.tpl index ac381740fd..d96589dc38 100644 --- a/xml/templates/message_templates/membership_offline_receipt_text.tpl +++ b/xml/templates/message_templates/membership_offline_receipt_text.tpl @@ -1,4 +1,4 @@ -{assign var="greeting" value="{contact.email_greeting}"}{if $greeting}{$greeting},{/if} +{assign var="greeting" value="{contact.email_greeting_display}"}{if $greeting}{$greeting},{/if} {if $receipt_text} {$receipt_text} diff --git a/xml/templates/message_templates/membership_online_receipt_html.tpl b/xml/templates/message_templates/membership_online_receipt_html.tpl index 79de1f3b98..3bb4b2f417 100644 --- a/xml/templates/message_templates/membership_online_receipt_html.tpl +++ b/xml/templates/message_templates/membership_online_receipt_html.tpl @@ -20,7 +20,7 @@ - {assign var="greeting" value="{contact.email_greeting}"}{if $greeting}

{$greeting},

{/if} + {assign var="greeting" value="{contact.email_greeting_display}"}{if $greeting}

{$greeting},

{/if} {if !empty($receipt_text)}

{$receipt_text|htmlize}

{/if} diff --git a/xml/templates/message_templates/membership_online_receipt_text.tpl b/xml/templates/message_templates/membership_online_receipt_text.tpl index e9bb9a72b1..02be9e48f3 100644 --- a/xml/templates/message_templates/membership_online_receipt_text.tpl +++ b/xml/templates/message_templates/membership_online_receipt_text.tpl @@ -1,4 +1,4 @@ -{assign var="greeting" value="{contact.email_greeting}"}{if $greeting}{$greeting},{/if} +{assign var="greeting" value="{contact.email_greeting_display}"}{if $greeting}{$greeting},{/if} {if !empty($receipt_text)} {$receipt_text} {/if} diff --git a/xml/templates/message_templates/participant_transferred_html.tpl b/xml/templates/message_templates/participant_transferred_html.tpl index 849d7a3aa7..f064922015 100644 --- a/xml/templates/message_templates/participant_transferred_html.tpl +++ b/xml/templates/message_templates/participant_transferred_html.tpl @@ -20,7 +20,7 @@ - {assign var="greeting" value="{contact.email_greeting}"}{if $greeting}

{$greeting},

{/if} + {assign var="greeting" value="{contact.email_greeting_display}"}{if $greeting}

{$greeting},

{/if}

{ts 1=$to_participant}Your Event Registration has been Transferred to %1.{/ts}

diff --git a/xml/templates/message_templates/participant_transferred_text.tpl b/xml/templates/message_templates/participant_transferred_text.tpl index 6de2e90552..44f1a9bf6d 100644 --- a/xml/templates/message_templates/participant_transferred_text.tpl +++ b/xml/templates/message_templates/participant_transferred_text.tpl @@ -1,4 +1,4 @@ -{assign var="greeting" value="{contact.email_greeting}"}{if $greeting}{$greeting},{/if} +{assign var="greeting" value="{contact.email_greeting_display}"}{if $greeting}{$greeting},{/if} {ts 1=$to_participant}Your Event Registration has been transferred to %1.{/ts} diff --git a/xml/templates/message_templates/payment_or_refund_notification_html.tpl b/xml/templates/message_templates/payment_or_refund_notification_html.tpl index dc84d071ab..f9706882fe 100644 --- a/xml/templates/message_templates/payment_or_refund_notification_html.tpl +++ b/xml/templates/message_templates/payment_or_refund_notification_html.tpl @@ -21,7 +21,7 @@ - {assign var="greeting" value="{contact.email_greeting}"}{if $greeting}

{$greeting},

{/if} + {assign var="greeting" value="{contact.email_greeting_display}"}{if $greeting}

{$greeting},

{/if} {if $isRefund}

{ts}A refund has been issued based on changes in your registration selections.{/ts}

{else} diff --git a/xml/templates/message_templates/pcp_owner_notify_html.tpl b/xml/templates/message_templates/pcp_owner_notify_html.tpl index 73c02a4c99..0620c96d57 100644 --- a/xml/templates/message_templates/pcp_owner_notify_html.tpl +++ b/xml/templates/message_templates/pcp_owner_notify_html.tpl @@ -10,7 +10,7 @@ {capture assign=labelStyle }style="padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;"{/capture} {capture assign=valueStyle }style="padding: 4px; border-bottom: 1px solid #999;"{/capture} - {assign var="greeting" value="{contact.email_greeting}"}{if $greeting}

{$greeting},

{/if} + {assign var="greeting" value="{contact.email_greeting_display}"}{if $greeting}

{$greeting},

{/if}

{ts}You have received a donation at your personal page{/ts}: {$page_title}

{ts}Your fundraising total has been updated.{/ts}
{ts}The donor's information is listed below. You can choose to contact them and convey your thanks if you wish.{/ts}
diff --git a/xml/templates/message_templates/pcp_owner_notify_text.tpl b/xml/templates/message_templates/pcp_owner_notify_text.tpl index 964eabff62..a07dab6c35 100644 --- a/xml/templates/message_templates/pcp_owner_notify_text.tpl +++ b/xml/templates/message_templates/pcp_owner_notify_text.tpl @@ -2,7 +2,7 @@ {ts}Personal Campaign Page Owner Notification{/ts} =========================================================== -{assign var="greeting" value="{contact.email_greeting}"}{if $greeting}{$greeting},{/if} +{assign var="greeting" value="{contact.email_greeting_display}"}{if $greeting}{$greeting},{/if} {ts}You have received a donation at your personal page{/ts}: {$page_title} >> {$pcpInfoURL} diff --git a/xml/templates/message_templates/pcp_supporter_notify_html.tpl b/xml/templates/message_templates/pcp_supporter_notify_html.tpl index 23cfe50754..8cd2d2895e 100644 --- a/xml/templates/message_templates/pcp_supporter_notify_html.tpl +++ b/xml/templates/message_templates/pcp_supporter_notify_html.tpl @@ -20,7 +20,7 @@ - {assign var="greeting" value="{contact.email_greeting}"}{if $greeting}

{$greeting},

{/if} + {assign var="greeting" value="{contact.email_greeting_display}"}{if $greeting}

{$greeting},

{/if}

{ts 1="$contribPageTitle"}Thanks for creating a personal campaign page in support of %1.{/ts}

diff --git a/xml/templates/message_templates/pcp_supporter_notify_text.tpl b/xml/templates/message_templates/pcp_supporter_notify_text.tpl index 872ce3f277..dbf84f4896 100644 --- a/xml/templates/message_templates/pcp_supporter_notify_text.tpl +++ b/xml/templates/message_templates/pcp_supporter_notify_text.tpl @@ -1,4 +1,4 @@ -{assign var="greeting" value="{contact.email_greeting}"}{if $greeting}{$greeting},{/if} +{assign var="greeting" value="{contact.email_greeting_display}"}{if $greeting}{$greeting},{/if} {ts 1="$contribPageTitle"}Thanks for creating a personal campaign page in support of %1.{/ts} diff --git a/xml/templates/message_templates/petition_confirmation_needed_html.tpl b/xml/templates/message_templates/petition_confirmation_needed_html.tpl index d0852c0d5a..91b52014de 100644 --- a/xml/templates/message_templates/petition_confirmation_needed_html.tpl +++ b/xml/templates/message_templates/petition_confirmation_needed_html.tpl @@ -1,4 +1,4 @@ -{assign var="greeting" value="{contact.email_greeting}"}{if $greeting}

{$greeting},

{/if} +{assign var="greeting" value="{contact.email_greeting_display}"}{if $greeting}

{$greeting},

{/if}

Thank you for signing {$petition.title}.

diff --git a/xml/templates/message_templates/petition_confirmation_needed_text.tpl b/xml/templates/message_templates/petition_confirmation_needed_text.tpl index 1bf5583ac1..619c499d0a 100644 --- a/xml/templates/message_templates/petition_confirmation_needed_text.tpl +++ b/xml/templates/message_templates/petition_confirmation_needed_text.tpl @@ -1,4 +1,4 @@ -{assign var="greeting" value="{contact.email_greeting}"}{if $greeting}{$greeting},{/if} +{assign var="greeting" value="{contact.email_greeting_display}"}{if $greeting}{$greeting},{/if} Thank you for signing {$petition.title}. diff --git a/xml/templates/message_templates/petition_sign_html.tpl b/xml/templates/message_templates/petition_sign_html.tpl index 386527c9b6..0c83e5ceea 100644 --- a/xml/templates/message_templates/petition_sign_html.tpl +++ b/xml/templates/message_templates/petition_sign_html.tpl @@ -1,4 +1,4 @@ -{assign var="greeting" value="{contact.email_greeting}"}{if $greeting}

{$greeting},

{/if} +{assign var="greeting" value="{contact.email_greeting_display}"}{if $greeting}

{$greeting},

{/if}

Thank you for signing {$petition.title}.

diff --git a/xml/templates/message_templates/petition_sign_text.tpl b/xml/templates/message_templates/petition_sign_text.tpl index f95137e869..936b312c1e 100644 --- a/xml/templates/message_templates/petition_sign_text.tpl +++ b/xml/templates/message_templates/petition_sign_text.tpl @@ -1,3 +1,3 @@ -{assign var="greeting" value="{contact.email_greeting}"}{if $greeting}{$greeting},{/if} +{assign var="greeting" value="{contact.email_greeting_display}"}{if $greeting}{$greeting},{/if} Thank you for signing {$petition.title}. diff --git a/xml/templates/message_templates/sample/Sample Responsive Design Newsletter - Single Column.tpl b/xml/templates/message_templates/sample/Sample Responsive Design Newsletter - Single Column.tpl index bddc84c855..922e646fed 100644 --- a/xml/templates/message_templates/sample/Sample Responsive Design Newsletter - Single Column.tpl +++ b/xml/templates/message_templates/sample/Sample Responsive Design Newsletter - Single Column.tpl @@ -188,7 +188,7 @@ -

{contact.email_greeting},

+

{contact.email_greeting_display},

Replace with your text and images, and remember to link the facebook and twitter links in the footer to your pages. Have fun!

-- 2.25.1