From d119c3dffd8fca644f5235e53ca99184363d64b9 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Tue, 19 Dec 2023 08:51:00 +1300 Subject: [PATCH] Remove some more text template versions As already done for membership_online receipt etc --- .../contribution_recurring_billing_text.tpl | 23 ------ .../contribution_recurring_cancelled_text.tpl | 3 - .../contribution_recurring_notify_text.tpl | 64 --------------- .../event_registration_receipt_text.tpl | 81 ------------------- .../participant_confirm_text.tpl | 68 ---------------- .../participant_expired_text.tpl | 51 ------------ .../participant_transferred_text.tpl | 45 ----------- .../message_templates/pcp_notify_text.tpl | 20 ----- .../pcp_status_change_text.tpl | 45 ----------- .../pcp_supporter_notify_text.tpl | 58 ------------- 10 files changed, 458 deletions(-) diff --git a/xml/templates/message_templates/contribution_recurring_billing_text.tpl b/xml/templates/message_templates/contribution_recurring_billing_text.tpl index 26f7e23f31..e69de29bb2 100644 --- a/xml/templates/message_templates/contribution_recurring_billing_text.tpl +++ b/xml/templates/message_templates/contribution_recurring_billing_text.tpl @@ -1,23 +0,0 @@ -{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} - -=========================================================== -{ts}Billing Name and Address{/ts} - -=========================================================== -{$billingName} -{$address} - -{$email} - -=========================================================== -{ts}Credit Card Information{/ts} - -=========================================================== -{$credit_card_type} -{$credit_card_number} -{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:''|crmDate} - - -{ts 1=$receipt_from_email}If you have questions please contact us at %1{/ts} diff --git a/xml/templates/message_templates/contribution_recurring_cancelled_text.tpl b/xml/templates/message_templates/contribution_recurring_cancelled_text.tpl index d48b091bc5..e69de29bb2 100644 --- a/xml/templates/message_templates/contribution_recurring_cancelled_text.tpl +++ b/xml/templates/message_templates/contribution_recurring_cancelled_text.tpl @@ -1,3 +0,0 @@ -{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_notify_text.tpl b/xml/templates/message_templates/contribution_recurring_notify_text.tpl index 673b228f16..e69de29bb2 100644 --- a/xml/templates/message_templates/contribution_recurring_notify_text.tpl +++ b/xml/templates/message_templates/contribution_recurring_notify_text.tpl @@ -1,64 +0,0 @@ -{assign var="greeting" value="{contact.email_greeting_display}"}{if $greeting}{$greeting},{/if} - -{if $recur_txnType eq 'START'} -{if $auto_renew_membership} -{ts}Thanks for your auto renew membership sign-up.{/ts} - - -{ts 1=$recur_frequency_interval 2=$recur_frequency_unit}This membership will be automatically renewed every %1 %2(s).{/ts} - -{if $cancelSubscriptionUrl} -{ts 1=$cancelSubscriptionUrl}You can cancel the auto-renewal option by visiting this web page.{/ts} - -{/if} - -{if $updateSubscriptionBillingUrl} -{ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by visiting this web page.{/ts} - -{/if} -{else} -{ts}Thanks for your recurring contribution sign-up.{/ts} - - -{ts 1=$recur_frequency_interval 2=$recur_frequency_unit 3=$recur_installments}This recurring contribution will be automatically processed every %1 %2(s){/ts}{if $recur_installments} {ts 1=$recur_installments} for a total of %1 installment(s){/ts}{/if}. - -{ts}Start Date{/ts}: {$recur_start_date|crmDate} - -{if $cancelSubscriptionUrl} -{ts 1=$cancelSubscriptionUrl}You can cancel the recurring contribution option by visiting this web page.{/ts} - -{/if} - -{if $updateSubscriptionBillingUrl} -{ts 1=$updateSubscriptionBillingUrl}You can update billing details for this recurring contribution by visiting this web page.{/ts} - -{/if} - -{if $updateSubscriptionUrl} -{ts 1=$updateSubscriptionUrl}You can update recurring contribution amount or change the number of installments for this recurring contribution by visiting this web page.{/ts} - -{/if} -{/if} - -{elseif $recur_txnType eq 'END'} -{if $auto_renew_membership} -{ts}Your auto renew membership sign-up has ended and your membership will not be automatically renewed.{/ts} - - -{else} -{ts}Your recurring contribution term has ended.{/ts} - - -{ts 1=$recur_installments}You have successfully completed %1 recurring contributions. Thank you.{/ts} - - -================================================== -{ts 1=$recur_installments}Interval of Subscription for %1 installment(s){/ts} - -================================================== -{ts}Start Date{/ts}: {$recur_start_date|crmDate} - -{ts}End Date{/ts}: {$recur_end_date|crmDate} - -{/if} -{/if} diff --git a/xml/templates/message_templates/event_registration_receipt_text.tpl b/xml/templates/message_templates/event_registration_receipt_text.tpl index a4c482234b..e69de29bb2 100644 --- a/xml/templates/message_templates/event_registration_receipt_text.tpl +++ b/xml/templates/message_templates/event_registration_receipt_text.tpl @@ -1,81 +0,0 @@ -{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. -{else} - This is being sent to you as a {if !empty($is_refund)}confirmation of refund{else}receipt of payment made{/if} for the following workshop, event registration or purchase. -{/if} - -{if $is_pay_later} - {$pay_later_receipt} -{/if} - - Your order number is #{$transaction_id}. {if !empty($line_items) && empty($is_refund)} Information about the workshops will be sent separately to each participant.{/if} - Here's a summary of your transaction placed on {$transaction_date|crmDate:"%D %I:%M %p %Z"}: - -{if $billing_name} -=========================================================== -{ts}Billing Name and Address{/ts} - -=========================================================== -{$billing_name} - -{$billing_street_address} - -{$billing_city}, {$billing_state} {$billing_postal_code} - -{$email} -{/if} - -{if !empty($source)} -{$source} -{/if} - - -{foreach from=$line_items item=line_item} -{$line_item.event->title} ({$line_item.event->start_date|crmDate:"%D"}) -{if $line_item.event->is_show_location} - {$line_item.location.address.1.display|strip_tags:false} -{/if}{*End of isShowLocation condition*} -{$line_item.event->start_date|crmDate:"%D %I:%M %p"} - {$line_item.event->end_date|crmDate:"%I:%M %p"} - - Quantity: {$line_item.num_participants} - -{if $line_item.num_participants > 0} - {foreach from=$line_item.participants item=participant} - {$participant.display_name} - {/foreach} -{/if} -{if $line_item.num_waiting_participants > 0} - Waitlisted: - {foreach from=$line_item.waiting_participants item=participant} - {$participant.display_name} - {/foreach} -{/if} -Cost: {$line_item.cost|crmMoney:$currency|string_format:"%10s"} -Total For This Event: {$line_item.amount|crmMoney:$currency|string_format:"%10s"} - -{/foreach} - -{if $discounts} -Subtotal: {$sub_total|crmMoney:$currency|string_format:"%10s"} --------------------------------------- -Discounts -{foreach from=$discounts key=myId item=i} - {$i.title}: -{$i.amount|crmMoney:$currency|string_format:"%10s"} -{/foreach} -{/if} -====================================== -Total: {$total|crmMoney:$currency|string_format:"%10s"} - -{if $credit_card_type} -=========================================================== -{ts}Payment Information{/ts} - -=========================================================== -{$credit_card_type} -{$credit_card_number} -{ts}Expires{/ts}: {$credit_card_exp_date.M}/{$credit_card_exp_date.Y} -{/if} - - If you have questions about the status of your registration or purchase please feel free to contact us. diff --git a/xml/templates/message_templates/participant_confirm_text.tpl b/xml/templates/message_templates/participant_confirm_text.tpl index 4804454474..e69de29bb2 100644 --- a/xml/templates/message_templates/participant_confirm_text.tpl +++ b/xml/templates/message_templates/participant_confirm_text.tpl @@ -1,68 +0,0 @@ -{assign var="greeting" value="{contact.email_greeting_display}"}{if $greeting}{$greeting},{/if} - -{ts}This is an invitation to complete your registration that was initially waitlisted.{/ts} - -{if !$isAdditional and $participant.id} - -=========================================================== -{ts}Confirm Your Registration{/ts} - -=========================================================== -{capture assign=confirmUrl}{crmURL p='civicrm/event/confirm' q="reset=1&participantId=`$participant.id`&cs=`$checksumValue`" a=true h=0 fe=1}{/capture} -Click this link to go to a web page where you can confirm your registration online: -{$confirmUrl} -{/if} -{if $event.allow_selfcancelxfer} -{ts 1=$selfcancelxfer_time 2=$selfservice_preposition}You may transfer your registration to another participant or cancel your registration up to %1 hours %2 the event.{/ts} {if $totalAmount}{ts}Cancellations are not refundable.{/ts}{/if} - {capture assign=selfService}{crmURL p='civicrm/event/selfsvcupdate' q="reset=1&pid=`$participant.id`&{contact.checksum}" h=0 a=1 fe=1}{/capture} -{ts}Transfer or cancel your registration:{/ts} {$selfService} -{/if} -=========================================================== -{ts}Event Information and Location{/ts} - -=========================================================== -{$event.event_title} -{$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|crmDate:"%Y%m%d" == $event.event_start_date|crmDate:"%Y%m%d"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if} - -{ts}Participant Role{/ts}: {$participant.role} - -{if $isShowLocation} -{$event.location.address.1.display|strip_tags:false} -{/if}{*End of isShowLocation condition*} - -{if $event.location.phone.1.phone || $event.location.email.1.email} - -{ts}Event Contacts:{/ts} -{foreach from=$event.location.phone item=phone} -{if $phone.phone} - -{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if} -{/foreach} -{foreach from=$event.location.email item=eventEmail} -{if $eventEmail.email} - -{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach} -{/if} - -{if $event.is_public} -{capture assign=icalFeed}{crmURL p='civicrm/event/ical' q="reset=1&id=`$event.id`" h=0 a=1 fe=1}{/capture} -{ts}Download iCalendar entry for this event.{/ts} {$icalFeed} -{capture assign=gCalendar}{crmURL p='civicrm/event/ical' q="gCalendar=1&reset=1&id=`$event.id`" h=0 a=1 fe=1}{/capture} -{ts}Add event to Google Calendar{/ts} {$gCalendar} -{/if} - -{if '{contact.email}'} - -=========================================================== -{ts}Registered Email{/ts} - -=========================================================== -{contact.email} -{/if} - -{if $register_date} -{ts}Registration Date{/ts}: {$participant.register_date|crmDate} -{/if} - -{ts 1='{domain.phone}' 2='{domain.email}'}Please contact us at %1 or send email to %2 if you have questions.{/ts} - diff --git a/xml/templates/message_templates/participant_expired_text.tpl b/xml/templates/message_templates/participant_expired_text.tpl index e1f5aef34c..e69de29bb2 100644 --- a/xml/templates/message_templates/participant_expired_text.tpl +++ b/xml/templates/message_templates/participant_expired_text.tpl @@ -1,51 +0,0 @@ -{assign var="greeting" value="{contact.email_greeting_display}"}{if $greeting}{$greeting},{/if} - -{ts 1=$event.event_title}Your pending event registration for %1 has expired -because you did not confirm your registration.{/ts} - - -{ts 1='{domain.phone}' 2='{domain.email}'}Please contact us at %1 or send email to %2 if you have questions -or want to inquire about reinstating your registration for this event.{/ts} - -=========================================================== -{ts}Event Information and Location{/ts} - -=========================================================== -{$event.event_title} -{$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|crmDate:"%Y%m%d" == $event.event_start_date|crmDate:"%Y%m%d"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if} - -{ts}Participant Role{/ts}: {$participant.role} - -{if $isShowLocation} -{$event.location.address.1.display|strip_tags:false} -{/if}{*End of isShowLocation condition*} - -{if !empty($event.location.phone.1.phone) || !empty($event.location.email.1.email)} - -{ts}Event Contacts:{/ts} -{foreach from=$event.location.phone item=phone} -{if $phone.phone} - -{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if} -{/foreach} -{foreach from=$event.location.email item=eventEmail} -{if $eventEmail.email} - -{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach} -{/if} - -{if '{contact.email}'} - -=========================================================== -{ts}Registered Email{/ts} - -=========================================================== -{contact.email} -{/if} - -{if $register_date} -{ts}Registration Date{/ts}: {$participant.register_date|crmDate} -{/if} - -{ts 1='{domain.phone}' 2='{domain.email}'}Please contact us at %1 or send email to %2 if you have questions.{/ts} - diff --git a/xml/templates/message_templates/participant_transferred_text.tpl b/xml/templates/message_templates/participant_transferred_text.tpl index 44f1a9bf6d..e69de29bb2 100644 --- a/xml/templates/message_templates/participant_transferred_text.tpl +++ b/xml/templates/message_templates/participant_transferred_text.tpl @@ -1,45 +0,0 @@ -{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} - -=========================================================== -{ts}Event Information and Location{/ts} - -=========================================================== -{$event.event_title} -{$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|crmDate:"%Y%m%d" == $event.event_start_date|crmDate:"%Y%m%d"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if} - -{ts}Participant Role{/ts}: {$participant.role} - -{if $isShowLocation} -{$event.location.address.1.display|strip_tags:false} -{/if}{*End of isShowLocation condition*} - -{if !empty($event.location.phone.1.phone) || !empty($event.location.email.1.email)} - -{ts}Event Contacts:{/ts} -{foreach from=$event.location.phone item=phone} -{if $phone.phone} - -{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if} -{/foreach} -{foreach from=$event.location.email item=eventEmail} -{if $eventEmail.email} - -{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach} -{/if} - -{if '{contact.email}'} - -=========================================================== -{ts}Registered Email{/ts} - -=========================================================== -{contact.email} -{/if} - -{if $register_date} -{ts}Registration Date{/ts}: {$participant.register_date|crmDate} -{/if} - -{ts 1='{domain.phone}' 2='{domain.email}'}Please contact us at %1 or send email to %2 if you have questions.{/ts} diff --git a/xml/templates/message_templates/pcp_notify_text.tpl b/xml/templates/message_templates/pcp_notify_text.tpl index 93b18d24e0..e69de29bb2 100644 --- a/xml/templates/message_templates/pcp_notify_text.tpl +++ b/xml/templates/message_templates/pcp_notify_text.tpl @@ -1,20 +0,0 @@ -=========================================================== -{ts}Personal Campaign Page Notification{/ts} - -=========================================================== -{ts}Action{/ts}: {if $mode EQ 'Update'}{ts}Updated personal campaign page{/ts}{else}{ts}New personal campaign page{/ts}{/if} -{ts}Personal Campaign Page Title{/ts}: {$pcpTitle} -{ts}Current Status{/ts}: {$pcpStatus} -{capture assign=pcpURL}{crmURL p="civicrm/pcp/info" q="reset=1&id=`$pcpId`" h=0 a=1 fe=1}{/capture} -{ts}View Page{/ts}: ->> {$pcpURL} - -{ts}Supporter{/ts}: {$supporterName} ->> {$supporterUrl} - -{ts}Linked to Contribution Page{/ts}: {$contribPageTitle} ->> {$contribPageUrl} - -{ts}Manage Personal Campaign Pages{/ts}: ->> {$managePCPUrl} - diff --git a/xml/templates/message_templates/pcp_status_change_text.tpl b/xml/templates/message_templates/pcp_status_change_text.tpl index abcd54640a..e69de29bb2 100644 --- a/xml/templates/message_templates/pcp_status_change_text.tpl +++ b/xml/templates/message_templates/pcp_status_change_text.tpl @@ -1,45 +0,0 @@ -{if $pcpStatus eq 'Approved'} -============================ -{ts}Your Personal Campaign Page{/ts} - -============================ - -{ts}Your personal campaign page has been approved and is now live.{/ts} - -{ts}Whenever you want to preview, update or promote your page{/ts}: -1. {ts}Login to your account at{/ts}: -{$loginUrl} - -2. {ts}Click or paste this link into your browser to go to your page{/ts}: -{$pcpInfoURL} - -{ts}When you view your campaign page WHILE LOGGED IN, the page includes links to edit your page, tell friends, and update your contact info.{/ts} - -{if $isTellFriendEnabled} - -{ts}After logging in, you can use this form to promote your fundraising page{/ts}: -{$pcpTellFriendURL} - -{/if} - -{if $pcpNotifyEmailAddress} -{ts}Questions? Send email to{/ts}: -{$pcpNotifyEmailAddress} -{/if} - -{* Rejected message *} -{elseif $pcpStatus eq 'Not Approved'} -============================ -{ts}Your Personal Campaign Page{/ts} - -============================ - -{ts}Your personal campaign page has been reviewed. There were some issues with the content which prevented us from approving the page. We are sorry for any inconvenience.{/ts} - -{if $pcpNotifyEmailAddress} - -{ts}Please contact our site administrator for more information{/ts}: -{$pcpNotifyEmailAddress} -{/if} - -{/if} diff --git a/xml/templates/message_templates/pcp_supporter_notify_text.tpl b/xml/templates/message_templates/pcp_supporter_notify_text.tpl index dbf84f4896..e69de29bb2 100644 --- a/xml/templates/message_templates/pcp_supporter_notify_text.tpl +++ b/xml/templates/message_templates/pcp_supporter_notify_text.tpl @@ -1,58 +0,0 @@ -{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} - -{if $pcpStatus eq 'Approved'} -==================== -{ts}Promoting Your Page{/ts} - -==================== -{if $isTellFriendEnabled} - -{ts}You can begin your fundraising efforts using our "Tell a Friend" form{/ts}: - -1. {ts}Login to your account at{/ts}: -{$loginUrl} - -2. {ts}Click or paste this link into your browser and follow the prompts{/ts}: -{$pcpTellFriendURL} -{else} - -{ts}Send email to family, friends and colleagues with a personal message about this campaign.{/ts} -{ts}Include this link to your fundraising page in your emails{/ts}: -{$pcpInfoURL} -{/if} - -=================== -{ts}Managing Your Page{/ts} - -=================== -{ts}Whenever you want to preview, update or promote your page{/ts}: -1. {ts}Login to your account at{/ts}: -{$loginUrl} - -2. {ts}Click or paste this link into your browser to go to your page{/ts}: -{$pcpInfoURL} - -{ts}When you view your campaign page WHILE LOGGED IN, the page includes links to edit your page, tell friends, and update your contact info.{/ts} - - -{elseif $pcpStatus EQ 'Waiting Review'} -{ts}Your page requires administrator review before you can begin your fundraising efforts.{/ts} - - -{ts}A notification email has been sent to the site administrator, and you will receive another notification from them as soon as the review process is complete.{/ts} - - -{ts}You can still preview your page prior to approval{/ts}: -1. {ts}Login to your account at{/ts}: -{$loginUrl} - -2. {ts}Click or paste this link into your browser{/ts}: -{$pcpInfoURL} - -{/if} -{if $pcpNotifyEmailAddress} -{ts}Questions? Send email to{/ts}: -{$pcpNotifyEmailAddress} -{/if} -- 2.25.1