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