Merge pull request #23012 from colemanw/fixSearchAfformFilter
[civicrm-core.git] / xml / templates / message_templates / participant_expired_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 <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;">
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>
23 {assign var="greeting" value="{contact.email_greeting_display}"}{if $greeting}<p>{$greeting},</p>{/if}
24 <p>{ts 1=$event.event_title}Your pending event registration for %1 has expired
25 because you did not confirm your registration.{/ts}</p>
26 <p>{ts 1='{domain.phone}' 2='{domain.email}'}Please contact us at %1 or send email to %2 if you have questions
27 or want to inquire about reinstating your registration for this event.{/ts}</p>
28 </td>
29 </tr>
30 <tr>
31 <td>
32 <table style="border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;">
33 <tr>
34 <th {$headerStyle}>
35 {ts}Event Information and Location{/ts}
36 </th>
37 </tr>
38 <tr>
39 <td colspan="2" {$valueStyle}>
40 {$event.event_title}<br />
41 {$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}
42 </td>
43 </tr>
44 <tr>
45 <td {$labelStyle}>
46 {ts}Participant Role{/ts}:
47 </td>
48 <td {$valueStyle}>
49 {$participant.role}
50 </td>
51 </tr>
52
53 {if $isShowLocation}
54 <tr>
55 <td colspan="2" {$valueStyle}>
56 {$event.location.address.1.display|nl2br}
57 </td>
58 </tr>
59 {/if}
60
61 {if !empty($event.location.phone.1.phone) || !empty($event.location.email.1.email)}
62 <tr>
63 <td colspan="2" {$labelStyle}>
64 {ts}Event Contacts:{/ts}
65 </td>
66 </tr>
67 {foreach from=$event.location.phone item=phone}
68 {if $phone.phone}
69 <tr>
70 <td {$labelStyle}>
71 {if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}
72 </td>
73 <td {$valueStyle}>
74 {$phone.phone}
75 </td>
76 </tr>
77 {/if}
78 {/foreach}
79 {foreach from=$event.location.email item=eventEmail}
80 {if $eventEmail.email}
81 <tr>
82 <td {$labelStyle}>
83 {ts}Email{/ts}
84 </td>
85 <td {$valueStyle}>
86 {$eventEmail.email}
87 </td>
88 </tr>
89 {/if}
90 {/foreach}
91 {/if}
92
93 {if '{contact.email}'}
94 <tr>
95 <th {$headerStyle}>
96 {ts}Registered Email{/ts}
97 </th>
98 </tr>
99 <tr>
100 <td colspan="2" {$valueStyle}>
101 {contact.email}
102 </td>
103 </tr>
104 {/if}
105
106 {if $register_date}
107 <tr>
108 <td {$labelStyle}>
109 {ts}Registration Date{/ts}
110 </td>
111 <td {$valueStyle}>
112 {$participant.register_date|crmDate}
113 </td>
114 </tr>
115 {/if}
116
117 </table>
118 </td>
119 </tr>
120
121 <tr>
122 <td>
123 <p>{ts 1='{domain.phone}' 2='{domain.email}'}Please contact us at %1 or send email to %2 if you have questions.{/ts}</p>
124 </td>
125 </tr>
126
127 </table>
128
129 </body>
130 </html>