+ {% t shared.course_vocabulary.plural, key: current_school.course_vocabulary %}
+
+ {% include "courses_index", class: "col-xs-12 col-sm-6 np-stretch-content" %}
+
+ {% if features.training_events? %}
+
+
+ {% t .upcoming_events %}
+
+ {% include "training_events_dashboard" %}
+
+ {% endif %}
+
+
+{% include "footer" %}
\ No newline at end of file
diff --git a/Custom_Templates/customer_templates/Harri-McDonalds/learning_paths.html.liquid b/Custom_Templates/customer_templates/Harri-McDonalds/learning_paths.html.liquid
new file mode 100644
index 00000000..adaa84df
--- /dev/null
+++ b/Custom_Templates/customer_templates/Harri-McDonalds/learning_paths.html.liquid
@@ -0,0 +1,14 @@
+{% include "header" %}
+{% include "sub_navigation" %}
+
+
+
+ {% t shared.learning_paths %}
+
+
+ {% t .subtitle %}
+
+ {% include "learning_paths_index", items: learning_paths.available %}
+
+
+{% include "footer" %}
diff --git a/Custom_Templates/customer_templates/Harri-McDonalds/master.html.liquid b/Custom_Templates/customer_templates/Harri-McDonalds/master.html.liquid
new file mode 100644
index 00000000..f4a68a10
--- /dev/null
+++ b/Custom_Templates/customer_templates/Harri-McDonalds/master.html.liquid
@@ -0,0 +1,5 @@
+{% body %}
+
+{% if current_person.signed_in? %}
+ {% include "mcdonalds_theme" %}
+{% endif %}
diff --git a/Custom_Templates/customer_templates/Harri-McDonalds/styles.css.liquid b/Custom_Templates/customer_templates/Harri-McDonalds/styles.css.liquid
new file mode 100644
index 00000000..3fa296f6
--- /dev/null
+++ b/Custom_Templates/customer_templates/Harri-McDonalds/styles.css.liquid
@@ -0,0 +1,38 @@
+ /*
+ Put your custom overlay styles in here
+ You can use your northpass color palette in this file
+
+{{ color_palette.button_font_color }}
+{{ color_palette.button_color }}
+{{ color_palette.button_hover_color }}
+{{ color_palette.header_font_color }}
+{{ color_palette.header_font_hover_color }}
+{{ color_palette.header_color }}
+*/
+
+.red-bar{
+ background: red;
+}
+
+.red-text,
+.red-status{
+ color: red;
+}
+
+.yellow-bar{
+ background: yellow;
+}
+
+.yellow-text,
+.yellow-status{
+ color: yellow;
+}
+
+.green-bar{
+ background: green;
+}
+
+.green-text,
+.green-status{
+ color: green;
+}
\ No newline at end of file
diff --git a/Custom_Templates/customer_templates/Harri-McDonalds/training_events.html.liquid b/Custom_Templates/customer_templates/Harri-McDonalds/training_events.html.liquid
new file mode 100644
index 00000000..239ef9e5
--- /dev/null
+++ b/Custom_Templates/customer_templates/Harri-McDonalds/training_events.html.liquid
@@ -0,0 +1,19 @@
+{% include "header" %}
+{% include "sub_navigation" %}
+
+
+
+
+ {% t .title %}
+
+
+ {% t .subtitle %}
+
+
+
+ {% include "training_events_filter" %}
+
+
+ {% include "training_events_index" %}
+
+{% include "footer" %}
diff --git a/CustomerNotes/Artera.md b/CustomerNotes/Artera.md
index a60179e8..59aa2e05 100644
--- a/CustomerNotes/Artera.md
+++ b/CustomerNotes/Artera.md
@@ -76,5 +76,18 @@ Questions from Emily:
* Jackie's question, if you keep the group the same but add courses, does everyone get the course?
* Manager permissions, no "select all" for course assignments.
* FIX: If a manager creates a group, they don't OWN the group. The Admin needs to go in and assign that created group.
-* TODO: Is there a way to programmatically assign a manager courses, groups, etc?
+* FIX:: Is there a way to programmatically assign a manager courses, groups, etc? - NO.
* TODO: embed calendar into events page and sidebar of My Courses: 'https://calendar.google.com/calendar/u/0/embed?height=800&wkst=1&bgcolor=%23ecf0f9&ctz=America/Los_Angeles&showTabs=1&mode=AGENDA&title=WELL+Customer+Training+Workshops&showCalendars=1&showNav=1&showTitle=0&showDate=1&showPrint=1&src=Y184ZXM5aGp2Y2g4YnJnZTU2b3VsZXY0NGgzc0Bncm91cC5jYWxlbmRhci5nb29nbGUuY29t&color=%23B39DDB'
+
+## 03/23/2023
+
+### Moving to Prod
+
+Monday 27th.
+Some H1s hiding behind banner.
+If it is done on Monday Jackie can then record the video.
+
+Wrap categories if too long.
+Each box is the same height.
+
+Emily due April 19th. Will then be on parental leave.
diff --git a/CustomerNotes/LarsonTexts.md b/CustomerNotes/LarsonTexts.md
index d4b94756..fded5ea2 100644
--- a/CustomerNotes/LarsonTexts.md
+++ b/CustomerNotes/LarsonTexts.md
@@ -202,3 +202,11 @@ UN: smontiel@larsontexts.com
PW: BigIdeas!
Redesign.
+
+## 03/23/2023
+
+### Design Update
+
+She gave me her login again to the app. Gave Hubert assets.
+Sophia is training 8 people across two teams on how to use Northpass and Best Practices.
+Offered to join her if she needed help.
diff --git a/Scripts/API_Tests/Apikeys.py b/Scripts/API_Tests/Apikeys.py
index 9654e60a..837a93b6 100644
--- a/Scripts/API_Tests/Apikeys.py
+++ b/Scripts/API_Tests/Apikeys.py
@@ -4,3 +4,4 @@ forcemanager = "3ia7mWFkdeALYQFYoB51yh6Ov"
talkspace_core = "2vfHw6ksqGfT1gUhPM8pXx2wW"
wildhealth = "HWxj6VTNPwbc3WghFTPzr7SjE"
normsandbox = "SlpQlju219WnWogn94dQUT6Yt"
+walmartprod = "6hUfJdAartHTHhHc0WIRZYPWe"
diff --git a/Scripts/API_Tests/__pycache__/Apikeys.cpython-311.pyc b/Scripts/API_Tests/__pycache__/Apikeys.cpython-311.pyc
index 19501d27..52fe5958 100644
Binary files a/Scripts/API_Tests/__pycache__/Apikeys.cpython-311.pyc and b/Scripts/API_Tests/__pycache__/Apikeys.cpython-311.pyc differ
diff --git a/Scripts/API_Tests/api_test.py b/Scripts/API_Tests/api_test.py
index 59551267..9eee5aff 100644
--- a/Scripts/API_Tests/api_test.py
+++ b/Scripts/API_Tests/api_test.py
@@ -5,10 +5,12 @@ import Apikeys
# url ="https://api.northpass.com/v2/groups/e6ef3e5f-b5a2-4b10-868b-8c165d76d263/learning_paths"
# url = "https://api.northpass.com/v1/media?limit=1"
-url = "https://api.northpass.com/v1/learning_paths"
+# url = "https://api.northpass.com/v1/learning_paths"
+url = "https://api2.northpass.com/v2/courses"
+
# function = sys.argv[1]
-apiKey = Apikeys.normsandbox
-normuuid = "0b31c435-c18b-4573-984e-32cda57045b4"
+apiKey = Apikeys.walmartprod
+# normuuid = "0b31c435-c18b-4573-984e-32cda57045b4"
# Get Group Memberships:
# url = "https://api.northpass.com/v2/groups/504c4771-223a-447f-9ec6-08e51bc9ca23/memberships"
@@ -17,7 +19,7 @@ normuuid = "0b31c435-c18b-4573-984e-32cda57045b4"
# url = "https://api.northpass.com/v2/people/person_uuid/relationships/courses"
# Associate a person with a Learning Path (Test):
-url = f"https://api.northpass.com/v1/people/{normuuid}/relationships/learning_paths"
+# url = f"https://api.northpass.com/v1/people/{normuuid}/relationships/learning_paths"
def putTest(apiKey, url):
@@ -69,6 +71,6 @@ def postTest(apiKey, url):
if __name__ == "__main__":
- # getTest(apiKey, url)
+ getTest(apiKey, url)
# putTest(apiKey, url)
- postTest(apiKey, url)
+ # postTest(apiKey, url)
diff --git a/Scripts/API_Tests/get_courses.py b/Scripts/API_Tests/get_courses.py
new file mode 100644
index 00000000..1e35f698
--- /dev/null
+++ b/Scripts/API_Tests/get_courses.py
@@ -0,0 +1,38 @@
+import requests
+import json
+import Apikeys
+
+
+def get_course():
+ count = 0
+ apiKey = Apikeys.walmartprod
+ live_courses = []
+
+ while True:
+ count += 1
+ url = f"https://api2.northpass.com/v2/courses?page={count}"
+ headers = {"accept": "application/json", "X-Api-Key": apiKey}
+ response = requests.get(url, headers=headers)
+ data = response.json()
+ nextlink = data["links"]
+
+ jsonResponse = response.json()
+ jsonResponse = json.dumps(jsonResponse, indent=2)
+
+ for response in data["data"]:
+ status = response["attributes"]["status"]
+ if status == "live":
+ name = response["attributes"]["name"]
+ live_courses.append(name)
+ with open("/Users/normrasmussen/Downloads/courses.txt", "a") as write:
+ write.write("\n")
+ write.write(name)
+
+ if "next" not in nextlink:
+ break
+
+ print(live_courses)
+
+
+if __name__ == "__main__":
+ get_course()