Merge pull request #9947 from davidjosephhayes/master
[civicrm-core.git] / CRM / Upgrade / 4.7.14.msg_template / message_templates / contribution_recurring_notify_html.tpl
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
13 <center>
14 <table width="620" border="0" cellpadding="0" cellspacing="0" id="crm-event_receipt" style="font-family: Arial, Verdana, sans-serif; text-align: left;">
15
16 <!-- BEGIN HEADER -->
17 <!-- You can add table row(s) here with logo or other header elements -->
18 <!-- END HEADER -->
19
20 <!-- BEGIN CONTENT -->
21
22 <tr>
23 <td>
24 <p>{ts 1=$displayName}Dear %1{/ts},</p>
25 </td>
26 </tr>
27
28 <tr>
29 <td>&nbsp;</td>
30 </tr>
31
32 {if $recur_txnType eq 'START'}
33 {if $auto_renew_membership}
34 <tr>
35 <td>
36 <p>{ts}Thanks for your auto renew membership sign-up.{/ts}</p>
37 <p>{ts 1=$recur_frequency_interval 2=$recur_frequency_unit}This membership will be automatically renewed every %1 %2(s). {/ts}</p>
38 </td>
39 </tr>
40 <tr>
41 <td {$labelStyle}>
42 {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}
43 </td>
44 </tr>
45 {if $updateSubscriptionBillingUrl}
46 <tr>
47 <td {$labelStyle}>
48 {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by <a href="%1">visiting this web page</a>.{/ts}
49 </td>
50 </tr>
51 {/if}
52 {else}
53 <tr>
54 <td>
55 <p>{ts}Thanks for your recurring contribution sign-up.{/ts}</p>
56 <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>
57 <p>{ts}Start Date{/ts}: {$recur_start_date|crmDate}</p>
58 </td>
59 </tr>
60 <tr>
61 <td {$labelStyle}>
62 {ts 1=$cancelSubscriptionUrl} You can cancel the recurring contribution option by <a href="%1">visiting this web page</a>.{/ts}
63 </td>
64 </tr>
65 {if $updateSubscriptionBillingUrl}
66 <tr>
67 <td {$labelStyle}>
68 {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this recurring contribution by <a href="%1">visiting this web page</a>.{/ts}
69 </td>
70 </tr>
71 {/if}
72 <tr>
73 <td {$labelStyle}>
74 {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}
75 </td>
76 </tr>
77 {/if}
78
79 {elseif $recur_txnType eq 'END'}
80
81 {if $auto_renew_membership}
82 <tr>
83 <td>
84 <p>{ts}Your auto renew membership sign-up has ended and your membership will not be automatically renewed.{/ts}</p>
85 </td>
86 </tr>
87 {else}
88 <tr>
89 <td>
90 <p>{ts}Your recurring contribution term has ended.{/ts}</p>
91 <p>{ts 1=$recur_installments}You have successfully completed %1 recurring contributions. Thank you for your support.{/ts}</p>
92 </td>
93 </tr>
94 <tr>
95 <td>
96 <table style="border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;">
97 <tr>
98 <th {$headerStyle}>
99 {ts 1=$recur_installments}Interval of Subscription for %1 installment(s){/ts}
100 </th>
101 </tr>
102 <tr>
103 <td {$labelStyle}>
104 {ts}Start Date{/ts}
105 </td>
106 <td {$valueStyle}>
107 {$recur_start_date|crmDate}
108 </td>
109 </tr>
110 <tr>
111 <td {$labelStyle}>
112 {ts}End Date{/ts}
113 </td>
114 <td {$valueStyle}>
115 {$recur_end_date|crmDate}
116 </td>
117 </tr>
118 </table>
119 </td>
120 </tr>
121
122 {/if}
123 {/if}
124
125 </table>
126 </center>
127
128 </body>
129 </html>