From 934ce3de2a6310a736b859c3147a3d296b05d24c Mon Sep 17 00:00:00 2001 From: paul-ion Date: Sun, 22 Dec 2024 00:03:41 -0500 Subject: [PATCH] Change text for second degree badges --- trainingportal/static/lessons/modules.json | 4 ++-- trainingportal/tools/devSetup.js | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/trainingportal/static/lessons/modules.json b/trainingportal/static/lessons/modules.json index 83b85a3..5da4c40 100644 --- a/trainingportal/static/lessons/modules.json +++ b/trainingportal/static/lessons/modules.json @@ -46,7 +46,7 @@ "badgeInfo":{ "line1":"Secure Coding", "line2":"2nd Degree", - "line3":"Black Belt", + "line3":"Black Belt I", "bg":"red" }, "requiredModules":["blackBelt"] @@ -58,7 +58,7 @@ "badgeInfo":{ "line1":"Secure Coding", "line2":"2nd Degree", - "line3":"Black Belt", + "line3":"Black Belt II", "bg":"darkred" }, "requiredModules":["secondDegreeBlackBelt1"] diff --git a/trainingportal/tools/devSetup.js b/trainingportal/tools/devSetup.js index 7a75354..72244e2 100755 --- a/trainingportal/tools/devSetup.js +++ b/trainingportal/tools/devSetup.js @@ -22,6 +22,9 @@ async function setup(){ await challengeUtil.passChallenges("securityCodeReviewMaster",user,[]); await challengeUtil.passChallenges("greenBelt",user,[]); await challengeUtil.passChallenges("blackBelt",user,["cwe134"]); + await challengeUtil.passChallenges("secondDegreeBlackBelt1",user,[]); + await challengeUtil.passChallenges("secondDegreeBlackBelt2",user,[]); + } catch (error) { console.error(error);