mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-26 15:48:32 -06:00
starting lecture UI
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
|
||||
export function getModuleItemUrl(
|
||||
courseName: string,
|
||||
moduleName: string,
|
||||
@@ -14,6 +13,14 @@ export function getModuleItemUrl(
|
||||
encodeURIComponent(itemName)
|
||||
);
|
||||
}
|
||||
export function getLectureUrl(courseName: string, lectureDate: string) {
|
||||
return (
|
||||
"/course/" +
|
||||
encodeURIComponent(courseName) +
|
||||
"/lecture/" +
|
||||
encodeURIComponent(lectureDate)
|
||||
);
|
||||
}
|
||||
|
||||
export function getCourseUrl(courseName: string) {
|
||||
return "/course/" + encodeURIComponent(courseName);
|
||||
|
||||
Reference in New Issue
Block a user