|
6 | 6 | <field name="subject">{{ object.event_id.name }}: event cancelled</field> |
7 | 7 | <field |
8 | 8 | name="email_from" |
9 | | - >{{ (object.event_id.organizer_id.email_formatted or object.event_id.user_id.email_formatted or '') }}</field> |
| 9 | + >{{ (object.event_id.organizer_id.email_formatted or object.event_id.user_id.email_formatted or '') }} |
| 10 | + </field> |
10 | 11 | <field |
11 | 12 | name="email_to" |
12 | | - >{{ (object.email and '"%s" <%s>' % (object.name, object.email) or object.partner_id.email_formatted or '') }}</field> |
| 13 | + >{{ (object.email and '"%s" <%s>' % (object.name, object.email) or object.partner_id.email_formatted or |
| 14 | + '') }} |
| 15 | + </field> |
13 | 16 | <field name="body_html" type="html"> |
14 | 17 | <table |
15 | 18 | border="0" |
|
63 | 66 | <span |
64 | 67 | style="font-size: 20px; font-weight: bold;" |
65 | 68 | t-out="object.name or ''" |
66 | | - >Oscar Morgan</span> |
| 69 | + >Oscar Morgan |
| 70 | + </span> |
67 | 71 | </td> |
68 | 72 | <td valign="middle" align="right"> |
69 | 73 | <t t-if="is_online"> |
70 | 74 | <a |
71 | 75 | t-attf-href="{{ object.event_id.website_url }}" |
72 | 76 | style="padding: 8px 12px; font-size: 12px; color: #FFFFFF; text-decoration: none !important; font-weight: 400; background-color: #875A7B; border: 0px solid #875A7B; border-radius:3px" |
73 | 77 | > |
74 | | - View Event |
75 | | - </a> |
| 78 | + View Event |
| 79 | + </a> |
76 | 80 | </t> |
77 | 81 | <t t-else=""> |
78 | 82 | <img |
|
113 | 117 | style="font-size: 14px;" |
114 | 118 | > |
115 | 119 | <div> |
116 | | - Hello <t t-out="object.name or ''">Oscar Morgan</t>,<br /> |
117 | | - We are sorry to inform you that the |
118 | | - <t t-if="is_online"> |
| 120 | + Hello <t |
| 121 | + t-out="object.name or ''" |
| 122 | + >Oscar Morgan</t>, |
| 123 | + <br /> |
| 124 | + We are sorry to inform you that the |
| 125 | + <t t-if="is_online"> |
119 | 126 | <a |
120 | 127 | t-att-href="object.event_id.website_url" |
121 | 128 | style="color:#875A7B;text-decoration:none;" |
122 | 129 | t-out="object.event_id.name or ''" |
123 | | - >OpenWood Collection Online Reveal</a> |
| 130 | + >OpenWood Collection Online Reveal |
| 131 | + </a> |
124 | 132 | </t> |
125 | | - <t t-else=""> |
| 133 | + <t t-else=""> |
126 | 134 | <strong |
127 | 135 | t-out="object.event_id.name or ''" |
128 | | - >OpenWood Collection Online Reveal</strong> |
| 136 | + >OpenWood Collection Online Reveal |
| 137 | + </strong> |
129 | 138 | </t> |
130 | | - has been cancelled. |
131 | | - </div> |
| 139 | + has been cancelled. |
| 140 | + </div> |
132 | 141 | <t t-if="event_organizer"> |
133 | 142 | <div> |
134 | 143 | <br /> |
135 | 144 | <div |
136 | | - >Please do not hesitate to contact the organizer at for further information:</div> |
| 145 | + >Please do not hesitate to contact the organizer at for |
| 146 | + further information: |
| 147 | + </div> |
137 | 148 | <ul> |
138 | 149 | <li |
139 | 150 | t-out="event_organizer.name or ''" |
140 | 151 | >YourCompany</li> |
141 | 152 | <t |
142 | 153 | t-if="event_organizer.email" |
143 | 154 | > |
144 | | - <li>Mail: <a |
| 155 | + <li>Mail: |
| 156 | + <a |
145 | 157 | t-attf-href="mailto:{{ event_organizer.email }}" |
146 | 158 | style="text-decoration:none;color:#875A7B;" |
147 | 159 | t-out="event_organizer.email or ''" |
148 | | - /></li> |
| 160 | + /> |
| 161 | + </li> |
149 | 162 | </t> |
150 | 163 | <t |
151 | 164 | t-if="event_organizer.phone" |
152 | 165 | > |
153 | | - <li>Phone: <t |
| 166 | + <li>Phone: |
| 167 | + <t |
154 | 168 | t-out="event_organizer.phone or ''" |
155 | | - /></li> |
| 169 | + /> |
| 170 | + </li> |
156 | 171 | </t> |
157 | 172 | </ul> |
158 | 173 | </div> |
159 | 174 | </t> |
160 | 175 | <div> |
161 | | - We understand the inconvenience this may cause and sincerely apologize for any disappointment.<br |
162 | | - /> |
163 | | - <span style="color: #454748;"> |
164 | | - -- <br /> |
165 | | - <t t-if="event_organizer"> |
| 176 | + We understand the inconvenience this may cause and sincerely |
| 177 | + apologize for any disappointment. |
| 178 | + <br /> |
| 179 | + <span style="color: #454748;"> |
| 180 | + -- |
| 181 | + <br /> |
| 182 | + <t t-if="event_organizer"> |
166 | 183 | <t |
167 | 184 | t-out="event_organizer.name or ''" |
168 | 185 | >YourCompany</t> |
169 | 186 | </t> |
170 | | - <t t-else=""> |
171 | | - The <t |
| 187 | + <t t-else=""> |
| 188 | + The <t |
172 | 189 | t-out="object.event_id.name or ''" |
173 | | - >OpenWood Collection Online Reveal</t> Team |
174 | | - </t> |
175 | | - </span> |
176 | | - </div> |
| 190 | + >OpenWood Collection Online Reveal |
| 191 | + </t> Team |
| 192 | + </t> |
| 193 | + </span> |
| 194 | + </div> |
177 | 195 | </td> |
178 | 196 | </tr> |
179 | 197 | </table> |
|
196 | 214 | > |
197 | 215 | <tr> |
198 | 216 | <td style="text-align: center; font-size: 14px;"> |
199 | | - Sent by <a |
| 217 | + Sent by |
| 218 | + <a |
200 | 219 | target="_blank" |
201 | 220 | t-attf-href="{{ object.company_id.website }}" |
202 | 221 | style="color: #875A7B;" |
203 | 222 | t-out="object.company_id.name or ''" |
204 | | - >YourCompany</a> |
205 | | - <t t-if="'website_url' in object.event_id and object.event_id.website_url"> |
206 | | - <br /> |
207 | | - Discover <a href="/event" style="color:#875A7B;">all our events</a>. |
208 | | - </t> |
209 | | - </td> |
| 223 | + >YourCompany |
| 224 | + </a> |
| 225 | + <t |
| 226 | + t-if="'website_url' in object.event_id and object.event_id.website_url" |
| 227 | + > |
| 228 | + <br /> |
| 229 | + Discover <a |
| 230 | + href="/event" |
| 231 | + style="color:#875A7B;" |
| 232 | + >all our events</a>. |
| 233 | + </t> |
| 234 | + </td> |
210 | 235 | </tr> |
211 | 236 | </table> |
212 | 237 | </td> |
|
0 commit comments