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