CLASSROOMIO-T-150: Add teacher to course + linear lesson content

clean up

CLASSROOMIO-T-150: Notify teacher they have been added

Make lesson content be linear on preview mode

CLASSROOMIO-T-150: Add teachers with a dropdown to course


Co-authored-by: Rotimi Best <rotimiibitoyeemma@gmail.com>


Merge-request: CLASSROOMIO-MR-69
Merged-by: Best Admin <best@digdippa.com>
This commit is contained in:
Rotimi Best
2023-09-07 10:47:25 +00:00
committed by Space Cloud
co-authored by Rotimi Best
parent b075bbc5de
commit 7523e6c3e7
23 changed files with 511 additions and 192 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
import { render } from 'svelte-email';
import { json } from '@sveltejs/kit';
import TeacherInviteTemplate from './template.svelte';
import { getSendgrid, SENDGRID_FROM_HELP } from '$lib/utils/services/sendgrid';
import { getSendgrid, SENDGRID_FROM_NOTIFY } from '$lib/utils/services/sendgrid';
import { getSupabase } from '$lib/utils/functions/supabase';
const sendgrid = getSendgrid();
@@ -47,7 +47,7 @@ export async function POST({ request }) {
console.log('inviteData', inviteData);
const options = {
from: SENDGRID_FROM_HELP,
from: SENDGRID_FROM_NOTIFY,
to: email,
subject: `Join ${name} on ClassroomIO`,
html: render({