Meet/Zoom Email Clarification (#2828)

* Add clarificaiton to email

* Update apps/web/lib/emails/templates/organizer-scheduled-email.ts

* Add to attendee scheduled email

Co-authored-by: Omar López <zomars@me.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
sean-brydon
2022-05-23 11:54:24 +01:00
committed by GitHub
parent 2560b72596
commit 0eff265682
3 changed files with 21 additions and 9 deletions

View File

@@ -428,6 +428,12 @@ ${getRichDescription(this.calEvent)}
<p style="color: #494949; font-weight: 400; line-height: 24px;">${
providerName || this.calEvent.location
}</p>
<p style="color: #494949; font-weight: 400; line-height: 24px;">${
(providerName === "Zoom" || providerName === "Google") &&
`
${this.calEvent.organizer.language.translate("meeting_url_provided_after_confirmed")}
`
}</p>
</div>
`;
}

View File

@@ -356,17 +356,17 @@ ${getRichDescription(this.calEvent)}
const meetingId = this.calEvent.videoCallData.id;
const meetingPassword = this.calEvent.videoCallData.password;
const meetingUrl = this.calEvent.videoCallData.url;
return `
<p style="height: 6px"></p>
<div style="line-height: 6px;">
<p style="color: #494949;">${this.calEvent.organizer.language.translate("where")}</p>
<p style="color: #494949; font-weight: 400; line-height: 24px;">${providerName} ${
meetingUrl &&
`<a href="${meetingUrl}" target="_blank" alt="${this.calEvent.organizer.language.translate(
"meeting_url"
)}"><img src="${linkIcon()}" width="12px"></img></a>`
}</p>
<p style="color: #494949; font-weight: 400; line-height: 24px;">${providerName}
${
meetingUrl &&
`<a href="${meetingUrl}" target="_blank" alt="${this.calEvent.organizer.language.translate(
"meeting_url"
)}"><img src="${linkIcon()}" width="12px"/></a>`
}</p>
${
meetingId &&
`<div style="color: #494949; font-weight: 400; line-height: 24px;">${this.calEvent.organizer.language.translate(
@@ -393,7 +393,6 @@ ${getRichDescription(this.calEvent)}
if (this.calEvent.additionInformation?.hangoutLink) {
const hangoutLink: string = this.calEvent.additionInformation.hangoutLink;
return `
<p style="height: 6px"></p>
<div style="line-height: 6px;">
@@ -418,6 +417,12 @@ ${getRichDescription(this.calEvent)}
<p style="color: #494949; font-weight: 400; line-height: 24px;">${
providerName || this.calEvent.location
}</p>
<p style="color: #494949; font-weight: 400; line-height: 24px;">${
(providerName === "Zoom" || providerName === "Google") &&
`
${this.calEvent.organizer.language.translate("meeting_url_provided_after_confirmed")}
`
}</p>
</div>
`;
}

View File

@@ -832,5 +832,6 @@
"or_lowercase": "or",
"nevermind": "Nevermind",
"go_to": "Go to: ",
"zapier_invite_link": "Zapier Invite Link"
"zapier_invite_link": "Zapier Invite Link",
"meeting_url_provided_after_confirmed":"A Meeting URL will be created once the event is confirmed."
}