Merge pull request #24117 from civicrm/5.52
[civicrm-core.git] / xml / templates / message_templates / contribution_recurring_notify_html.tpl
CommitLineData
6a488035
TO
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml">
3<head>
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
5 <title></title>
6</head>
7<body>
8
9{capture assign=headerStyle}colspan="2" style="text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;"{/capture}
10{capture assign=labelStyle }style="padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;"{/capture}
11{capture assign=valueStyle }style="padding: 4px; border-bottom: 1px solid #999;"{/capture}
12
cb342529 13 <table id="crm-event_receipt" style="font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;">
6a488035
TO
14
15 <!-- BEGIN HEADER -->
16 <!-- You can add table row(s) here with logo or other header elements -->
17 <!-- END HEADER -->
18
19 <!-- BEGIN CONTENT -->
20
21 <tr>
22 <td>
56658066 23 {assign var="greeting" value="{contact.email_greeting}"}{if $greeting}<p>{$greeting},</p>{/if}
6a488035
TO
24 </td>
25 </tr>
26
27 <tr>
28 <td>&nbsp;</td>
29 </tr>
30
31 {if $recur_txnType eq 'START'}
32 {if $auto_renew_membership}
33 <tr>
34 <td>
35 <p>{ts}Thanks for your auto renew membership sign-up.{/ts}</p>
36 <p>{ts 1=$recur_frequency_interval 2=$recur_frequency_unit}This membership will be automatically renewed every %1 %2(s). {/ts}</p>
37 </td>
38 </tr>
f926d56f 39 {if $cancelSubscriptionUrl}
6a488035 40 <tr>
f926d56f
MWMC
41 <td {$labelStyle}>
42 {ts 1=$cancelSubscriptionUrl}You can cancel the auto-renewal option by <a href="%1">visiting this web page</a>.{/ts}
43 </td>
6a488035 44 </tr>
f926d56f 45 {/if}
4072b132
ACD
46 {if $updateSubscriptionBillingUrl}
47 <tr>
48 <td {$labelStyle}>
49 {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by <a href="%1">visiting this web page</a>.{/ts}
50 </td>
51 </tr>
52 {/if}
6a488035
TO
53 {else}
54 <tr>
55 <td>
56 <p>{ts}Thanks for your recurring contribution sign-up.{/ts}</p>
e2cd07fc 57 <p>{ts 1=$recur_frequency_interval 2=$recur_frequency_unit}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}.</p>
6a488035
TO
58 <p>{ts}Start Date{/ts}: {$recur_start_date|crmDate}</p>
59 </td>
60 </tr>
f926d56f 61 {if $cancelSubscriptionUrl}
6a488035
TO
62 <tr>
63 <td {$labelStyle}>
f926d56f 64 {ts 1=$cancelSubscriptionUrl} You can cancel the recurring contribution option by <a href="%1">visiting this web page</a>.{/ts}
6a488035
TO
65 </td>
66 </tr>
f926d56f 67 {/if}
4072b132
ACD
68 {if $updateSubscriptionBillingUrl}
69 <tr>
70 <td {$labelStyle}>
f926d56f 71 {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this recurring contribution by <a href="%1">visiting this web page</a>.{/ts}
4072b132
ACD
72 </td>
73 </tr>
74 {/if}
f926d56f 75 {if $updateSubscriptionUrl}
6a488035
TO
76 <tr>
77 <td {$labelStyle}>
f926d56f 78 {ts 1=$updateSubscriptionUrl}You can update recurring contribution amount or change the number of installments details for this recurring contribution by <a href="%1">visiting this web page</a>.{/ts}
6a488035 79 </td>
f926d56f
MWMC
80 </tr>
81 {/if}
6a488035
TO
82 {/if}
83
84 {elseif $recur_txnType eq 'END'}
85
86 {if $auto_renew_membership}
87 <tr>
88 <td>
011aeb62 89 <p>{ts}Your auto renew membership sign-up has ended and your membership will not be automatically renewed.{/ts}</p>
6a488035
TO
90 </td>
91 </tr>
92 {else}
93 <tr>
94 <td>
95 <p>{ts}Your recurring contribution term has ended.{/ts}</p>
12ff7379 96 <p>{ts 1=$recur_installments}You have successfully completed %1 recurring contributions. Thank you.{/ts}</p>
6a488035
TO
97 </td>
98 </tr>
99 <tr>
100 <td>
101 <table style="border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;">
102 <tr>
103 <th {$headerStyle}>
104 {ts 1=$recur_installments}Interval of Subscription for %1 installment(s){/ts}
105 </th>
106 </tr>
107 <tr>
108 <td {$labelStyle}>
109 {ts}Start Date{/ts}
110 </td>
111 <td {$valueStyle}>
112 {$recur_start_date|crmDate}
113 </td>
114 </tr>
115 <tr>
116 <td {$labelStyle}>
117 {ts}End Date{/ts}
118 </td>
119 <td {$valueStyle}>
120 {$recur_end_date|crmDate}
121 </td>
122 </tr>
123 </table>
124 </td>
125 </tr>
126
127 {/if}
128 {/if}
129
130 </table>
6a488035
TO
131
132</body>
133</html>