Merge pull request #224 from emrysal/bugfix/add-location-to-email
This commit is contained in:
commit
eb02dd2dfa
2 changed files with 14 additions and 5 deletions
|
@ -54,8 +54,10 @@ const html = (calEvent: CalendarEvent) => {
|
|||
<br />
|
||||
Your ${calEvent.type} with ${calEvent.organizer.name} at ${inviteeStart.format('h:mma')}
|
||||
(${calEvent.attendees[0].timeZone}) on ${inviteeStart.format('dddd, LL')} is scheduled.<br />
|
||||
<br />
|
||||
Additional notes:<br />
|
||||
<br />` + (
|
||||
calEvent.location ? `<strong>Location:</strong> ${calEvent.location}<br /><br />` : ''
|
||||
) +
|
||||
`Additional notes:<br />
|
||||
${calEvent.description}
|
||||
</div>
|
||||
`;
|
||||
|
|
|
@ -78,9 +78,16 @@ const html = (evt: CalendarEvent) => `
|
|||
${evt.type}<br />
|
||||
<br />
|
||||
<strong>Invitee Email:</strong><br />
|
||||
<a href=\\"mailto:${evt.attendees[0].email}\\">${evt.attendees[0].email}</a><br />
|
||||
<br />
|
||||
<strong>Invitee Time Zone:</strong><br />
|
||||
<a href="mailto:${evt.attendees[0].email}">${evt.attendees[0].email}</a><br />
|
||||
<br />` +
|
||||
(
|
||||
evt.location ? `
|
||||
<strong>Location:</strong><br />
|
||||
${evt.location}<br />
|
||||
<br />
|
||||
` : ''
|
||||
) +
|
||||
`<strong>Invitee Time Zone:</strong><br />
|
||||
${evt.attendees[0].timeZone}<br />
|
||||
<br />
|
||||
<strong>Additional notes:</strong><br />
|
||||
|
|
Loading…
Reference in a new issue