Skip to content

Instantly share code, notes, and snippets.

@swinbanks
swinbanks / gist:7176c1bfcd6fff645ead80f0cea074ee
Last active May 15, 2020 04:45
HTML Template for Zoom Integration
${render("ish.email.header", bindings)}
<tr>
<td class="ish_block" style="border: 0;border-collapse: collapse;mso-table-lspace: 0pt; mso-table-rspace: 0pt;clear: both;border: 0;min-width: 100%;" width="100%" cellspacing="0" cellpadding="0" border="0" align="left">
<center>
<table cellpadding="10" cellspacing="0" width="600" class="w320">
<tr>
<td class="mini-block-container">
<table cellpadding="0" cellspacing="0" width="100%" class="table-border-separate">
<tr>
<td class="mini-block pull-left" valign="top">
@swinbanks
swinbanks / gist:70225365d1dd9352fa4548855a07f799
Last active May 15, 2020 01:21
Text message template for Zoom Integration
Hello ${record.student.contact.fullName},
Thank you for enrolling in ${record.courseClass.course.name} starting ${record.courseClass.startDateTime.format("h:mm a EEEE d MMMM yyyy zzzz", record.courseClass.getTimeZone())}
This is held live, online using the Zoom platform.
We ask you to be ready to log into the class at least 10 minutes before the class starts, this will allow you time to get set up and comfortable. PLease don't be late.
Please click this link to log into the class https://zoom.us/j/${record.courseClass.customField("ZoomID")}
@swinbanks
swinbanks / gist:2059bbaedb84f9c47fe4e3a29fc4aab6
Last active May 15, 2020 01:32
Send Enrolment Script with Zoom addition
def enrolment = args.entity
if (enrolment.status == EnrolmentStatus.SUCCESS && enrolment.confirmationStatus == ConfirmationStatus.NOT_SENT) {
email {
template "Enrolment Confirmation"
bindings enrolment: enrolment
to enrolment.student.contact
}