Updated the assignment creation e-mail to send the URL for the assignment directly
This commit is contained in:
@@ -19,10 +19,10 @@
|
|||||||
</p>
|
</p>
|
||||||
<br />
|
<br />
|
||||||
<p>Don't forget to do it before its end date!</p>
|
<p>Don't forget to do it before its end date!</p>
|
||||||
<p>Click <b><a href="https://{{environment}}.encoach.com">here</a></b> to open the EnCoach Platform!</p>
|
<p>Click <b><a href="https://{{environment}}.encoach.com/exam?assignment={{assignment.id}}">here</a></b> to open the assignment on EnCoach!</p>
|
||||||
<br />
|
<br />
|
||||||
<p>Thanks,</p>
|
<p>Thanks,</p>
|
||||||
<p>Your EnCoach team</p>
|
<p>Your EnCoach team</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
"assignees": [],
|
"assignees": [],
|
||||||
"modules": "Reading and Writing",
|
"modules": "Reading and Writing",
|
||||||
"startDate": "24/12/2023",
|
"startDate": "24/12/2023",
|
||||||
"endDate": "27/01/2024"
|
"endDate": "27/01/2024",
|
||||||
|
"id": "123"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -164,6 +164,7 @@ async function POST(req: NextApiRequest, res: NextApiResponse) {
|
|||||||
endDate,
|
endDate,
|
||||||
modules: examModulesLabel,
|
modules: examModulesLabel,
|
||||||
assigner: teacher.name,
|
assigner: teacher.name,
|
||||||
|
id
|
||||||
},
|
},
|
||||||
environment: process.env.ENVIRONMENT,
|
environment: process.env.ENVIRONMENT,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user