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