Commit | Line | Data |
---|---|---|
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 | ||
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=$contact.display_name}Dear %1{/ts},</p> | |
25 | <p>{ts}Your Event Registration has been cancelled.{/ts}</p> | |
26 | </td> | |
27 | </tr> | |
28 | <tr> | |
29 | <td> | |
30 | <table style="border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;"> | |
31 | <tr> | |
32 | <th {$headerStyle}> | |
33 | {ts}Event Information and Location{/ts} | |
34 | </th> | |
35 | </tr> | |
36 | <tr> | |
37 | <td colspan="2" {$valueStyle}> | |
38 | {$event.event_title}<br /> | |
39 | {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:"%Y%m%d" == $event.event_start_date|date_format:"%Y%m%d"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if} | |
40 | </td> | |
41 | </tr> | |
42 | <tr> | |
43 | <td {$labelStyle}> | |
44 | {ts}Participant Role{/ts}: | |
45 | </td> | |
46 | <td {$valueStyle}> | |
47 | {$participant.role} | |
48 | </td> | |
49 | </tr> | |
50 | ||
51 | {if $isShowLocation} | |
52 | <tr> | |
53 | <td colspan="2" {$valueStyle}> | |
54 | {if $event.location.address.1.name} | |
55 | {$event.location.address.1.name}<br /> | |
56 | {/if} | |
57 | {if $event.location.address.1.street_address} | |
58 | {$event.location.address.1.street_address}<br /> | |
59 | {/if} | |
60 | {if $event.location.address.1.supplemental_address_1} | |
61 | {$event.location.address.1.supplemental_address_1}<br /> | |
62 | {/if} | |
63 | {if $event.location.address.1.supplemental_address_2} | |
64 | {$event.location.address.1.supplemental_address_2}<br /> | |
65 | {/if} | |
66 | {if $event.location.address.1.city} | |
67 | {$event.location.address.1.city} {$event.location.address.1.postal_code} | |
68 | {if $event.location.address.1.postal_code_suffix} | |
69 | - {$event.location.address.1.postal_code_suffix} | |
70 | {/if} | |
71 | {/if} | |
72 | </td> | |
73 | </tr> | |
74 | {/if} | |
75 | ||
76 | {if $event.location.phone.1.phone || $event.location.email.1.email} | |
77 | <tr> | |
78 | <td colspan="2" {$labelStyle}> | |
79 | {ts}Event Contacts:{/ts} | |
80 | </td> | |
81 | </tr> | |
82 | {foreach from=$event.location.phone item=phone} | |
83 | {if $phone.phone} | |
84 | <tr> | |
85 | <td {$labelStyle}> | |
86 | {if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if} | |
87 | </td> | |
88 | <td {$valueStyle}> | |
89 | {$phone.phone} | |
90 | </td> | |
91 | </tr> | |
92 | {/if} | |
93 | {/foreach} | |
94 | {foreach from=$event.location.email item=eventEmail} | |
95 | {if $eventEmail.email} | |
96 | <tr> | |
97 | <td {$labelStyle}> | |
98 | {ts}Email{/ts} | |
99 | </td> | |
100 | <td {$valueStyle}> | |
101 | {$eventEmail.email} | |
102 | </td> | |
103 | </tr> | |
104 | {/if} | |
105 | {/foreach} | |
106 | {/if} | |
107 | ||
108 | {capture assign=icalFeed}{crmURL p='civicrm/event/ical' q="reset=1&id=`$event.id`" h=0 a=1 fe=1}{/capture} | |
109 | <tr> | |
110 | <td colspan="2" {$valueStyle}> | |
111 | <a href="{$icalFeed}">{ts}Download iCalendar File{/ts}</a> | |
112 | </td> | |
113 | </tr> | |
114 | ||
115 | {if $contact.email} | |
116 | <tr> | |
117 | <th {$headerStyle}> | |
118 | {ts}Registered Email{/ts} | |
119 | </th> | |
120 | </tr> | |
121 | <tr> | |
122 | <td colspan="2" {$valueStyle}> | |
123 | {$contact.email} | |
124 | </td> | |
125 | </tr> | |
126 | {/if} | |
127 | ||
128 | {if $register_date} | |
129 | <tr> | |
130 | <td {$labelStyle}> | |
131 | {ts}Registration Date{/ts} | |
132 | </td> | |
133 | <td {$valueStyle}> | |
134 | {$participant.register_date|crmDate} | |
135 | </td> | |
136 | </tr> | |
137 | {/if} | |
138 | ||
139 | </table> | |
140 | </td> | |
141 | </tr> | |
142 | ||
143 | <tr> | |
144 | <td> | |
145 | <p>{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions.{/ts}</p> | |
146 | </td> | |
147 | </tr> | |
148 | ||
149 | </table> | |
150 | </center> | |
151 | ||
152 | </body> | |
153 | </html> |