Fixed padding
This commit is contained in:
parent
e49c636a13
commit
88db124f47
1 changed files with 9 additions and 8 deletions
|
@ -1,7 +1,7 @@
|
||||||
import {CalendarEvent} from "../calendarClient";
|
import { CalendarEvent } from "../calendarClient";
|
||||||
import EventOrganizerMail from "./EventOrganizerMail";
|
import EventOrganizerMail from "./EventOrganizerMail";
|
||||||
import {VideoCallData} from "../videoClient";
|
import { VideoCallData } from "../videoClient";
|
||||||
import {getFormattedMeetingId, getIntegrationName} from "./helpers";
|
import { getFormattedMeetingId, getIntegrationName } from "./helpers";
|
||||||
|
|
||||||
export default class VideoEventOrganizerMail extends EventOrganizerMail {
|
export default class VideoEventOrganizerMail extends EventOrganizerMail {
|
||||||
videoCallData: VideoCallData;
|
videoCallData: VideoCallData;
|
||||||
|
@ -18,11 +18,12 @@ export default class VideoEventOrganizerMail extends EventOrganizerMail {
|
||||||
* @protected
|
* @protected
|
||||||
*/
|
*/
|
||||||
protected getAdditionalBody(): string {
|
protected getAdditionalBody(): string {
|
||||||
|
// This odd indentation is necessary because otherwise the leading tabs will be applied into the event description.
|
||||||
return `
|
return `
|
||||||
<strong>Video call provider:</strong> ${getIntegrationName(this.videoCallData)}<br />
|
<strong>Video call provider:</strong> ${getIntegrationName(this.videoCallData)}<br />
|
||||||
<strong>Meeting ID:</strong> ${getFormattedMeetingId(this.videoCallData)}<br />
|
<strong>Meeting ID:</strong> ${getFormattedMeetingId(this.videoCallData)}<br />
|
||||||
<strong>Meeting Password:</strong> ${this.videoCallData.password}<br />
|
<strong>Meeting Password:</strong> ${this.videoCallData.password}<br />
|
||||||
<strong>Meeting URL:</strong> <a href="${this.videoCallData.url}">${this.videoCallData.url}</a><br />
|
<strong>Meeting URL:</strong> <a href="${this.videoCallData.url}">${this.videoCallData.url}</a><br />
|
||||||
`;
|
`;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue