From 0a0e671b0374615cc41ec3522d37ccbe3fd9f22c Mon Sep 17 00:00:00 2001 From: Mika Tompuri <46688963+tompurker@users.noreply.github.com> Date: Fri, 9 Aug 2024 10:13:51 +0300 Subject: [PATCH 1/2] Add HBC courses to other course instances dropdown menu --- course-settings.js | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/course-settings.js b/course-settings.js index 3841cf72d..6ab559f2f 100644 --- a/course-settings.js +++ b/course-settings.js @@ -20,6 +20,30 @@ const courseSettings = { tmcOrganization: "hellu", tmcCourse: "HelluTTK01" }, + { + tmcOrganization: "hbc", + tmcCourse: "hbc-python-KYBER24AL" + }, + { + tmcOrganization: "hbc", + tmcCourse: "hbc-python-KYBER24B" + }, + { + tmcOrganization: "hbc", + tmcCourse: "hbc-python-PELI24AL" + }, + { + tmcOrganization: "hbc", + tmcCourse: "hbc-python-PELI24B" + }, + { + tmcOrganization: "hbc", + tmcCourse: "hbc-python-WEB24A" + }, + { + tmcOrganization: "hbc", + tmcCourse: "hbc-python-WEB24B" + }, ], } From 66e7e11af3c0a12391852866f7163df97695b96e Mon Sep 17 00:00:00 2001 From: Mika Tompuri <46688963+tompurker@users.noreply.github.com> Date: Fri, 9 Aug 2024 15:32:44 +0300 Subject: [PATCH 2/2] Remove organization ID from HBC course variant names Removed the TMC organization ID ('hbc') unnecessarily included in the names of the HBC course variants. --- course-settings.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/course-settings.js b/course-settings.js index 6ab559f2f..afaa3abf7 100644 --- a/course-settings.js +++ b/course-settings.js @@ -22,27 +22,27 @@ const courseSettings = { }, { tmcOrganization: "hbc", - tmcCourse: "hbc-python-KYBER24AL" + tmcCourse: "python-KYBER24AL" }, { tmcOrganization: "hbc", - tmcCourse: "hbc-python-KYBER24B" + tmcCourse: "python-KYBER24B" }, { tmcOrganization: "hbc", - tmcCourse: "hbc-python-PELI24AL" + tmcCourse: "python-PELI24AL" }, { tmcOrganization: "hbc", - tmcCourse: "hbc-python-PELI24B" + tmcCourse: "python-PELI24B" }, { tmcOrganization: "hbc", - tmcCourse: "hbc-python-WEB24A" + tmcCourse: "python-WEB24A" }, { tmcOrganization: "hbc", - tmcCourse: "hbc-python-WEB24B" + tmcCourse: "python-WEB24B" }, ], }