diff --git a/Custom_Templates/customer_templates/Walmart Volt/_account_avatar.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_account_avatar.html.liquid
new file mode 100644
index 00000000..d952af93
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_account_avatar.html.liquid
@@ -0,0 +1,66 @@
+
+
{% t .description %}
+
{% t .requirements %}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {% t .use_gravatar %}
+
+
+
+
+
+
+
+
+
+
+
+ {% t .upload_custom_photo %}
+
+
+
+
+
+ {% t .upload %}
+
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_account_desktop_view.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_account_desktop_view.html.liquid
new file mode 100644
index 00000000..8ae8599d
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_account_desktop_view.html.liquid
@@ -0,0 +1,19 @@
+
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_account_form.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_account_form.html.liquid
new file mode 100644
index 00000000..ddd264c2
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_account_form.html.liquid
@@ -0,0 +1,139 @@
+
+ {% t .header %}
+
+
+ {% t shared.email %} *
+
+
+
+
+ {% t shared.first_name %} *
+
+
+
+
+
+ {% t shared.last_name %} *
+
+
+
+
+
+ {% t .display_name %}
+
+
+
+
+{% unless form.options.invite? %}
+
+
+ {% t .current_password %} *
+
+
+
+
+
+
+ {% t .new_password %} *
+
+
+
+
+
+
+ {% t .confirm_new_password %} *
+
+
+
+{% endunless %}
+
+{% if form.options.invite? %}
+
+
+ {% t shared.password %} *
+
+
+
+
+ {% if form.terms_of_service_required? %}
+
+ {% else %}
+
+ {% endif %}
+
+
+{% endif %}
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_account_mobile_view.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_account_mobile_view.html.liquid
new file mode 100644
index 00000000..6ac8c007
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_account_mobile_view.html.liquid
@@ -0,0 +1,17 @@
+
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_cards_course.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_cards_course.html.liquid
new file mode 100644
index 00000000..7b96c602
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_cards_course.html.liquid
@@ -0,0 +1,151 @@
+{% if course.completed? %}
+ {% assign wrapperClassStatus = "np-hidden-mobile np-card-content-progress np-button-color green-status" %}
+ {% assign wrapperClassBar = "np-button-background-color np-card-progress-bar green-bar" %}
+ {% assign wrapperClassButton = "np-top-button np-button-font-color np-button np-button-big green-button" %}
+{% else %}
+ {% assign wrapperClassStatus = "np-hidden-mobile np-card-content-progress np-button-color" %}
+ {% assign wrapperClassBar = "np-button-background-color np-card-progress-bar" %}
+ {% assign wrapperClassButton = "np-top-button np-button-font-color np-button np-button-big" %}
+{% endif %}
+
+
+
+
+
+
+
+
+
+ {{ course.name }}
+
+
+
+ {{ course.instructor_names }}
+
+
+
+ {{ course.full_description }}
+
+
+
+ {% t shared.progress, count: course.progress %}
+
+
+
+
+
+ {% t shared.progress, count: course.progress %}
+
+
+
+
+
+
+
+
+
+ {%comment%}{%endcomment%}
+
+
+{%comment%}
+
+ {% if course.ribbon %}
+
+ {{ course.ribbon }}
+
+ {% endif %}
+
+
+
+ {{ course.name }}
+
+
+ {{ course.instructor_names }}
+
+
+
+
+
+
+
+
+
{%endcomment%}
\ No newline at end of file
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_cards_learning_path.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_cards_learning_path.html.liquid
new file mode 100644
index 00000000..424a81ab
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_cards_learning_path.html.liquid
@@ -0,0 +1,70 @@
+
+
+
+
+
+
+
+
+
+
+ {{ learning_path.name }}
+
+
+
+ {{ learning_path.instructor_names }}
+
+
+
+ {{ learning_path.description }}
+
+
+
+ {% t shared.progress, count: learning_path.progress %}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_cards_training_event.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_cards_training_event.html.liquid
new file mode 100644
index 00000000..1176157e
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_cards_training_event.html.liquid
@@ -0,0 +1,45 @@
+
+
+
+
+ {{ training_event.title }}
+
+
+ {% t shared.event_types, key: training_event.event_type %}
+
+
+
+ {% t .next_session %}
+
+
+
+
+ {{ training_event.sessions.first.day }}
+
+
+
+ {{ training_event.sessions.first.month }}
+
+
+ {{ training_event.sessions.first.year }}
+
+
+
+
+
+
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_certificates_info_column.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_certificates_info_column.html.liquid
new file mode 100644
index 00000000..61adfaba
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_certificates_info_column.html.liquid
@@ -0,0 +1,4 @@
+
+ {% include "certificates_verification" %}
+ {% include "certificates_metadata" %}
+
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_certificates_metadata.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_certificates_metadata.html.liquid
new file mode 100644
index 00000000..9f4a1dba
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_certificates_metadata.html.liquid
@@ -0,0 +1,59 @@
+
+
+
+
+
+ {% if certificate.issuer_name_enabled? %}
+
+
+ {% endif %}
+
+
+
+
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_certificates_preview.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_certificates_preview.html.liquid
new file mode 100644
index 00000000..6357b621
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_certificates_preview.html.liquid
@@ -0,0 +1,35 @@
+
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_certificates_top_bar.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_certificates_top_bar.html.liquid
new file mode 100644
index 00000000..74a7ae41
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_certificates_top_bar.html.liquid
@@ -0,0 +1,44 @@
+
+
+
+
+ {{certificate.certificate_name}}
+
+
+
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_certificates_verification.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_certificates_verification.html.liquid
new file mode 100644
index 00000000..4fc19415
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_certificates_verification.html.liquid
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+ {{certificate.verification_title}}
+
+
+ {{certificate.verification_description}}
+
+
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_course_activity_locked.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_course_activity_locked.html.liquid
new file mode 100644
index 00000000..386393d5
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_course_activity_locked.html.liquid
@@ -0,0 +1,4 @@
+
+
+ {{ activity.title }}
+
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_course_activity_unlocked.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_course_activity_unlocked.html.liquid
new file mode 100644
index 00000000..30c03305
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_course_activity_unlocked.html.liquid
@@ -0,0 +1,15 @@
+{% if course.enrolled? %}
+
+ {{ activity.title }}
+
+{% else%}
+
+ {{ activity.title }}
+
+{% endif %}
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_course_categories.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_course_categories.html.liquid
new file mode 100644
index 00000000..6cfe9010
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_course_categories.html.liquid
@@ -0,0 +1,10 @@
+
+ {% t .header %}
+
+
+ {% for category in course.categories %}
+
+ {{ category.name }}
+
+ {% endfor %}
+
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_course_description.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_course_description.html.liquid
new file mode 100644
index 00000000..269f9216
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_course_description.html.liquid
@@ -0,0 +1,6 @@
+
+ {% t .header, key: current_school.course_vocabulary %}
+
+
+ {{ course.full_description }}
+
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_course_desktop_view.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_course_desktop_view.html.liquid
new file mode 100644
index 00000000..e16fee16
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_course_desktop_view.html.liquid
@@ -0,0 +1,40 @@
+
+
+
+
+
+
+ {% include "course_description" %}
+
+ {% if course.categories.any? %}
+
+ {% include "course_categories" %}
+
+ {% endif %}
+
+ {% if course.instructors.any? %}
+
+ {% include "course_instructors" %}
+
+ {% endif %}
+
+ {% if course.events.any? %}
+
+ {% include "course_events" %}
+
+ {% endif %}
+
+
+
+ {% include "course_progress_and_cta" %}
+
+ {% include "course_outline" %}
+
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_course_events.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_course_events.html.liquid
new file mode 100644
index 00000000..5fa80eef
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_course_events.html.liquid
@@ -0,0 +1,28 @@
+
+ {% t .header %}
+
+
+ {% for event in course.events %}
+
+
+
+ {{ event.sessions.first.abbreviated_month }}
+
+
+ {{ event.sessions.first.day }}
+
+
+
+
+ {{ event.title }}
+
+
+ {% t shared.event_types, key: event.event_type %}
+
+
+ {{ event.sessions.first.time_period }} {{ event.sessions.first.time_zone }}
+
+
+
+ {% endfor %}
+
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_course_header.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_course_header.html.liquid
new file mode 100644
index 00000000..84820ec4
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_course_header.html.liquid
@@ -0,0 +1,16 @@
+
+ {{ current_school.course_vocabulary }}
+
+
+
+
+
+
+
+ {{ course.name }}
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_course_instructors.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_course_instructors.html.liquid
new file mode 100644
index 00000000..8b608928
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_course_instructors.html.liquid
@@ -0,0 +1,22 @@
+
+ {% t .header %}
+
+
+ {% for instructor in course.instructors %}
+
+
+
+
+ {{ instructor.name }}
+
+
+ {{ instructor.title }}
+
+
+
+ {% endfor %}
+
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_course_mobile_view.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_course_mobile_view.html.liquid
new file mode 100644
index 00000000..7f31ff35
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_course_mobile_view.html.liquid
@@ -0,0 +1,40 @@
+
+ {% include "course_header" %}
+
+ {% include "course_progress_and_cta" %}
+
+
+
+{% if course.progress == 0 %}
+
+ {% include "course_description" %}
+
+
+ {% include "course_outline" %}
+
+{% else %}
+
+ {% include "course_outline" %}
+
+
+ {% include "course_description" %}
+
+{% endif %}
+
+{% if course.categories.any? %}
+
+ {% include "course_categories" %}
+
+{% endif %}
+
+{% if course.instructors.any? %}
+
+ {% include "course_instructors" %}
+
+{% endif %}
+
+{% if course.events.any? %}
+
+ {% include "course_events" %}
+
+{% endif %}
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_course_outline.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_course_outline.html.liquid
new file mode 100644
index 00000000..72f97e79
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_course_outline.html.liquid
@@ -0,0 +1,40 @@
+
+
+ {% t .header, key: current_school.course_vocabulary %}
+
+
+
+ {% for section in course.sections %}
+
+
+ {{ section.name }}
+
+
+ {% for activity in section.activities %}
+
+
+ {% if activity.completed? %}
+
+ {% if activity.locked? %}
+ {% include "course_activity_locked" %}
+ {% else %}
+ {% include "course_activity_unlocked", class: "np-course-outline-content-activity-link-completed" %}
+ {% endif %}
+
+ {% else %}
+
+ {% if activity.locked? %}
+ {% include "course_activity_locked" %}
+ {% else %}
+ {% include "course_activity_unlocked", class: "np-course-outline-content-activity-link" %}
+ {% endif %}
+
+ {% endif %}
+
+ {% endfor %}
+
+
+ {% endfor %}
+
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_course_progress_and_cta.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_course_progress_and_cta.html.liquid
new file mode 100644
index 00000000..1c3db9fa
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_course_progress_and_cta.html.liquid
@@ -0,0 +1,46 @@
+
+
+ {% t .header %}
+
+
+
+
+ {% t shared.progress, count: course.progress %}
+
+
+
+{% if course.learner_can_retake? %}
+
+{% else %}
+
+ {% if course.enrolled? == false %}
+ {% t shared.enroll %}
+ {% elsif course.started? == false %}
+ {% t shared.course.start, key: current_school.course_vocabulary %}
+ {% elsif course.completed? %}
+ {% t shared.course.view, key: current_school.course_vocabulary %}
+ {% else %}
+ {% t shared.continue %}
+ {% endif %}
+
+{% endif %}
+
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_course_version_outdated_alert.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_course_version_outdated_alert.html.liquid
new file mode 100644
index 00000000..03e245ab
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_course_version_outdated_alert.html.liquid
@@ -0,0 +1,7 @@
+{% if courses.include_courses_to_restart? %}
+
+{% endif %}
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_course_version_outdated_popup.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_course_version_outdated_popup.html.liquid
new file mode 100644
index 00000000..71795884
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_course_version_outdated_popup.html.liquid
@@ -0,0 +1,33 @@
+
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_courses_catalog.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_courses_catalog.html.liquid
new file mode 100644
index 00000000..ea1e9ea4
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_courses_catalog.html.liquid
@@ -0,0 +1,16 @@
+{% if courses.in_catalog.any? %}
+
+ {% for course in courses.in_catalog %}
+
+ {% include "cards_course" with course %}
+
+ {% endfor %}
+
+{% else %}
+ {% capture message %}
+ {% t shared.zero_state.courses.catalog,
+ key: current_school.course_vocabulary
+ %}
+ {% endcapture %}
+ {% include "courses_zero_state", message: message %}
+{% endif %}
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_courses_index.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_courses_index.html.liquid
new file mode 100644
index 00000000..1d39b882
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_courses_index.html.liquid
@@ -0,0 +1,14 @@
+{% if courses.enrolled.any? %}
+ {% for course in courses.enrolled %}
+
+ {% include "cards_course" with course %}
+
+ {% endfor %}
+{% else %}
+ {% capture message %}
+ {% t shared.zero_state.courses.index,
+ key: current_school.course_vocabulary
+ %}
+ {% endcapture %}
+ {% include "courses_zero_state", message: message %}
+{% endif %}
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_courses_zero_state.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_courses_zero_state.html.liquid
new file mode 100644
index 00000000..26e371f7
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_courses_zero_state.html.liquid
@@ -0,0 +1,6 @@
+
+
+ {{ message }}
+
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_filter_checkbox.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_filter_checkbox.html.liquid
new file mode 100644
index 00000000..5cbcbd07
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_filter_checkbox.html.liquid
@@ -0,0 +1,10 @@
+
+
+ {{label}}
+
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_filter_dropdown.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_filter_dropdown.html.liquid
new file mode 100644
index 00000000..e7a954bb
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_filter_dropdown.html.liquid
@@ -0,0 +1,33 @@
+
+
+
+ {% t shared.filters.filter %}
+
+
+
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_filter_select.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_filter_select.html.liquid
new file mode 100644
index 00000000..d006c0df
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_filter_select.html.liquid
@@ -0,0 +1,22 @@
+{% if params.q %}
+
+{% endif %}
+
+
+ {{ label }}
+
+
+
+ {% for filter in filters %}
+
+ {{ filter.name }}
+
+ {% endfor %}
+
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_footer.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_footer.html.liquid
new file mode 100644
index 00000000..e69de29b
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_head.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_head.html.liquid
new file mode 100644
index 00000000..beab5b4a
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_head.html.liquid
@@ -0,0 +1,3 @@
+{% styles default %}
+{% styles colors %}
+{% styles custom %}
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_header.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_header.html.liquid
new file mode 100644
index 00000000..17618eb5
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_header.html.liquid
@@ -0,0 +1,180 @@
+
+
+
+
+
+
+{% include "messages" %}
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_header_minimal.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_header_minimal.html.liquid
new file mode 100644
index 00000000..6b72cdb2
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_header_minimal.html.liquid
@@ -0,0 +1,17 @@
+
+
+{% include "messages" %}
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_learning_path_banners.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_learning_path_banners.html.liquid
new file mode 100644
index 00000000..11a1810c
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_learning_path_banners.html.liquid
@@ -0,0 +1,5 @@
+{% if learning_path.new_content_available? %}
+ {% include "learning_path_new_content_banner" %}
+{% else %}
+ {% include "learning_path_completed_banner" %}
+{% endif %}
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_learning_path_certificate.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_learning_path_certificate.html.liquid
new file mode 100644
index 00000000..3a282c5e
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_learning_path_certificate.html.liquid
@@ -0,0 +1,17 @@
+{% if learning_path.has_certificate? %}
+ {% if learning_path.certificate_completed? %}
+
+
+
+ {% include "learning_path_certificate_content" %}
+
+
+ {% else %}
+
+ {% include "learning_path_certificate_content" %}
+
+ {% endif %}
+{% endif %}
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_learning_path_certificate_content.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_learning_path_certificate_content.html.liquid
new file mode 100644
index 00000000..3feafd59
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_learning_path_certificate_content.html.liquid
@@ -0,0 +1,19 @@
+
+
+
+
+ {% t .avatar_title %}
+
+
+
+ {{ learning_path.certificate_name }}
+
+ {% if learning_path.certificate_completed? %}
+
+ {{ learning_path.certificate_issue_date | date: "%B %d, %Y" }}
+
+ {% endif %}
+
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_learning_path_completed_banner.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_learning_path_completed_banner.html.liquid
new file mode 100644
index 00000000..1c146f6e
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_learning_path_completed_banner.html.liquid
@@ -0,0 +1,13 @@
+
+
+
+
{% t .headline %}
+
{% t .description %}
+
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_learning_path_course.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_learning_path_course.html.liquid
new file mode 100644
index 00000000..5f7aff84
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_learning_path_course.html.liquid
@@ -0,0 +1,56 @@
+{% if learning_path.enrolled? and course.unlocked? %}
+
+
+
+
+
+
+ {{ course.name }}
+
+ {% if course.instructors %}
+
+ {{ course.instructors }}
+
+ {% endif %}
+
+ {% t shared.progress, count: course.progress %}
+
+
+
+ {% if course.optional? %}
+
+ {% t shared.optional %}
+
+ {% endif %}
+
+
+{% else %}
+
+
+
+
+
+ {{ course.name }}
+
+
+ {% if course.optional? %}
+
+ {% t shared.optional %}
+
+ {% endif %}
+
+
+{% endif %}
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_learning_path_description.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_learning_path_description.html.liquid
new file mode 100644
index 00000000..6b1fb3a0
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_learning_path_description.html.liquid
@@ -0,0 +1,6 @@
+
+ {% t .about %}
+
+
+ {{ learning_path.description }}
+
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_learning_path_desktop_content.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_learning_path_desktop_content.html.liquid
new file mode 100644
index 00000000..e9ca85d9
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_learning_path_desktop_content.html.liquid
@@ -0,0 +1,21 @@
+
+
+
+
+
+ {% include "learning_path_description" %}
+ {% include "learning_path_instructors" %}
+
+
+
+
+
+ {% include "learning_path_progress_and_cta" %}
+
+ {% include "learning_path_outline" %}
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_learning_path_desktop_header.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_learning_path_desktop_header.html.liquid
new file mode 100644
index 00000000..6f4c112c
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_learning_path_desktop_header.html.liquid
@@ -0,0 +1,12 @@
+
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_learning_path_desktop_view.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_learning_path_desktop_view.html.liquid
new file mode 100644
index 00000000..8447443e
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_learning_path_desktop_view.html.liquid
@@ -0,0 +1,2 @@
+{% include "learning_path_desktop_header" %}
+{% include "learning_path_desktop_content" %}
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_learning_path_instructors.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_learning_path_instructors.html.liquid
new file mode 100644
index 00000000..a8342301
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_learning_path_instructors.html.liquid
@@ -0,0 +1,26 @@
+{% if learning_path.instructors.any? %}
+
+
+ {% t shared.instructors %}
+
+
+ {% for instructor in learning_path.instructors %}
+
+
+
+
+ {{ instructor.name }}
+
+
+ {{ instructor.title }}
+
+
+
+ {% endfor %}
+
+
+{% endif %}
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_learning_path_mobile_content.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_learning_path_mobile_content.html.liquid
new file mode 100644
index 00000000..92ffd4c8
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_learning_path_mobile_content.html.liquid
@@ -0,0 +1,19 @@
+{% if learning_path.in_progress? %}
+ {% include "learning_path_outline" %}
+
+ {% include "learning_path_description" %}
+
+{% else %}
+
+ {% include "learning_path_description" %}
+
+
+ {% include "learning_path_outline" %}
+
+{% endif %}
+
+{% if learning_path.instructors.any? %}
+
+ {% include "learning_path_instructors" %}
+
+{% endif %}
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_learning_path_mobile_header.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_learning_path_mobile_header.html.liquid
new file mode 100644
index 00000000..2bf66a5a
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_learning_path_mobile_header.html.liquid
@@ -0,0 +1,17 @@
+
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_learning_path_mobile_view.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_learning_path_mobile_view.html.liquid
new file mode 100644
index 00000000..0e22feb9
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_learning_path_mobile_view.html.liquid
@@ -0,0 +1,2 @@
+{% include "learning_path_mobile_header" %}
+{% include "learning_path_mobile_content" %}
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_learning_path_new_content_banner.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_learning_path_new_content_banner.html.liquid
new file mode 100644
index 00000000..2bc02d46
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_learning_path_new_content_banner.html.liquid
@@ -0,0 +1,12 @@
+
+
+
{% t .headline %}
+
{% t .description %}
+
+ {% learning_path_next_step_button learning_path, class: "np-learning-path-banner-action np-learning-path-banner-action--primary" %}
+ {% if learning_path.certificate_link %}
+
{% t .actions.view_certificate %}
+ {% endif %}
+
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_learning_path_outline.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_learning_path_outline.html.liquid
new file mode 100644
index 00000000..22ddd573
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_learning_path_outline.html.liquid
@@ -0,0 +1,10 @@
+
+ {% for item in learning_path.items %}
+ {% if item.course? %}
+ {% include "learning_path_course", course: item %}
+ {% elsif item.training_event? %}
+ {% include "learning_path_training_session", training_session: item %}
+ {% endif %}
+ {% endfor %}
+ {% include "learning_path_certificate" %}
+
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_learning_path_progress_and_cta.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_learning_path_progress_and_cta.html.liquid
new file mode 100644
index 00000000..1d90a2a7
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_learning_path_progress_and_cta.html.liquid
@@ -0,0 +1,20 @@
+{% if learning_path.enrolled? %}
+
+
+ {% t .progress %}
+
+
+
+ {% t shared.progress, count: learning_path.progress %}
+
+
+{% endif %}
+
+{% learning_path_next_step_button learning_path, class: "np-top-button np-button-font-color np-button np-button-big" %}
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_learning_path_summary_desktop_view.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_learning_path_summary_desktop_view.html.liquid
new file mode 100644
index 00000000..05961c52
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_learning_path_summary_desktop_view.html.liquid
@@ -0,0 +1,3 @@
+{% include "learning_path_desktop_header" %}
+{% include "learning_path_banners" %}
+{% include "learning_path_desktop_content" %}
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_learning_path_summary_mobile_view.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_learning_path_summary_mobile_view.html.liquid
new file mode 100644
index 00000000..f30a09eb
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_learning_path_summary_mobile_view.html.liquid
@@ -0,0 +1,5 @@
+
+ {% include "learning_path_banners" %}
+
+{% include "learning_path_mobile_header" %}
+{% include "learning_path_mobile_content" %}
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_learning_path_training_session.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_learning_path_training_session.html.liquid
new file mode 100644
index 00000000..f796cdf4
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_learning_path_training_session.html.liquid
@@ -0,0 +1,53 @@
+{% if learning_path.enrolled? and training_session.unlocked? %}
+
+
+
+
+
+ {{ training_session.month }}
+
+
+ {{ training_session.day }}
+
+
+
+
{{ training_session.name }}
+
{{ training_session.instructors }}
+
+ {{ training_session.time }} {{ training_session.time_zone }}
+
+
+
+ {% if training_session.optional? %}
+
+ {% t shared.optional %}
+
+ {% endif %}
+
+
+{% else %}
+
+
+
+
+ {{ training_session.month }}
+
+
+ {{ training_session.day }}
+
+
+
+
{{ training_session.name }}
+
{{ training_session.caption }}
+
+ {% if training_session.optional? %}
+
+ {% t shared.optional %}
+
+ {% endif %}
+
+
+{% endif %}
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_learning_paths_index.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_learning_paths_index.html.liquid
new file mode 100644
index 00000000..a4681210
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_learning_paths_index.html.liquid
@@ -0,0 +1,14 @@
+
+ {% if items.any? %}
+ {% for learning_path in items %}
+ {% include "cards_learning_path" with learning_path %}
+ {% endfor %}
+ {% else %}
+
+
+ {% t .empty %}
+
+
+
+ {% endif %}
+
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_messages.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_messages.html.liquid
new file mode 100644
index 00000000..059fc568
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_messages.html.liquid
@@ -0,0 +1,19 @@
+{% if messages.alert.size > 0 %}
+
+
+ {% for message in messages.alert %}
+
{{ message }}
+ {% endfor %}
+
+
+{% endif %}
+
+{% if messages.notice.size > 0 %}
+
+
+ {% for message in messages.notice %}
+
{{ message }}
+ {% endfor %}
+
+
+{% endif %}
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_search_result.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_search_result.html.liquid
new file mode 100644
index 00000000..5c2a4991
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_search_result.html.liquid
@@ -0,0 +1,19 @@
+
+
+
+
+
+
+
{{ result.description }}
+
+
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_search_zero_state.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_search_zero_state.html.liquid
new file mode 100644
index 00000000..4e52c6fb
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_search_zero_state.html.liquid
@@ -0,0 +1,13 @@
+
+
+
+
+ {% t .nothing_found %}
+
+
+ {% t .empty %}
+
+
+
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_sub_navigation.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_sub_navigation.html.liquid
new file mode 100644
index 00000000..b432c10b
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_sub_navigation.html.liquid
@@ -0,0 +1,13 @@
+
+
+ {% for link in navigations.sub_navigation %}
+
+ {% endfor %}
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_training_events_dashboard.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_training_events_dashboard.html.liquid
new file mode 100644
index 00000000..7aeb19ce
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_training_events_dashboard.html.liquid
@@ -0,0 +1,9 @@
+
+ {% if training_events.enrolled.any? %}
+ {% for training_event in training_events.enrolled %}
+ {% include "cards_training_event" with training_event %}
+ {% endfor %}
+ {% else %}
+ {% include "training_events_zero_state" %}
+ {% endif %}
+
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_training_events_filter.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_training_events_filter.html.liquid
new file mode 100644
index 00000000..d4892278
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_training_events_filter.html.liquid
@@ -0,0 +1,53 @@
+
+
+
+ {% t shared.filters.filter %}
+
+
+
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_training_events_index.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_training_events_index.html.liquid
new file mode 100644
index 00000000..ff93b1c8
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_training_events_index.html.liquid
@@ -0,0 +1,13 @@
+
+ {% if training_events.available.any? %}
+
+ {% for training_event in training_events.available %}
+
+ {% include "cards_training_event" with training_event %}
+
+ {% endfor %}
+
+ {% else %}
+ {% include "training_events_zero_state" %}
+ {% endif %}
+
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_training_events_zero_state.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_training_events_zero_state.html.liquid
new file mode 100644
index 00000000..076b789e
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_training_events_zero_state.html.liquid
@@ -0,0 +1,9 @@
+
+
+ {% t .empty %}
+
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_training_session_calendars.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_training_session_calendars.html.liquid
new file mode 100644
index 00000000..6c758b73
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_training_session_calendars.html.liquid
@@ -0,0 +1,52 @@
+
+
+ {% t .add_to_calendar %}
+
+
+
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_training_session_cta.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_training_session_cta.html.liquid
new file mode 100644
index 00000000..d777c5f6
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_training_session_cta.html.liquid
@@ -0,0 +1,53 @@
+{% if training_session.approved? %}
+
+
+ {% t .registered %}
+
+{% elsif training_session.pending? %}
+
+ {% t .pending %}
+
+{% elsif training_session.denied? %}
+
+ {% t .denied %}
+
+{% elsif training_session.too_late? %}
+
+ {% t .too_late %}
+
+{% elsif training_session.no_seats? %}
+
+ {% t .no_seats %}
+
+{% endif %}
+
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_training_session_date.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_training_session_date.html.liquid
new file mode 100644
index 00000000..48694035
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_training_session_date.html.liquid
@@ -0,0 +1,14 @@
+
+
+
+ {{ training_session.day }}
+
+
+
+ {{ training_session.month }}
+
+
+ {{ training_session.year }}
+
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_training_session_description.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_training_session_description.html.liquid
new file mode 100644
index 00000000..73be4cf4
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_training_session_description.html.liquid
@@ -0,0 +1,6 @@
+
+ {% t .header %}
+
+
+ {{ training_event.description }}
+
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_training_session_desktop_view.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_training_session_desktop_view.html.liquid
new file mode 100644
index 00000000..5c1abfec
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_training_session_desktop_view.html.liquid
@@ -0,0 +1,40 @@
+
+
+
+
+
+
+ {% include "training_session_details" %}
+
+
+ {% include "training_session_cta" %}
+
+
+
+
+ {% include "training_session_description" %}
+
+
+
+
+
+
+ {% t shared.more_sessions %}
+
+ {% if training_event.sessions.size > 1 %}
+ {% include "training_session_more_sessions" %}
+ {% else %}
+
+
+
+ {% t .empty %}
+
+
+ {% endif %}
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_training_session_details.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_training_session_details.html.liquid
new file mode 100644
index 00000000..ae23b7ac
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_training_session_details.html.liquid
@@ -0,0 +1,24 @@
+
+ {% include "training_session_date" %}
+
+
+
+ {{ training_session.time_period }} {{ training_session.time_zone }}
+
+
+ {% if training_session.location %}
+
+
+ {{ training_session.location }}
+
+ {% endif %}
+
+ {% if training_session.session_url %}
+
+ {% endif %}
+
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_training_session_header.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_training_session_header.html.liquid
new file mode 100644
index 00000000..10434cfa
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_training_session_header.html.liquid
@@ -0,0 +1,10 @@
+
+ {% t shared.event_types, key: training_event.event_type %}
+
+
+
+
+
+
+ {{ training_event.title }}
+
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_training_session_mobile_view.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_training_session_mobile_view.html.liquid
new file mode 100644
index 00000000..00455d4e
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_training_session_mobile_view.html.liquid
@@ -0,0 +1,22 @@
+
+
+ {% include "training_session_header" %}
+
+ {% include "training_session_details" %}
+
+ {% include "training_session_cta" %}
+
+
+
+
+ {% include "training_session_description" %}
+
+
+{% if training_event.sessions.size > 1 %}
+
+
+ {% t shared.more_sessions %}
+
+ {% include "training_session_more_sessions" %}
+
+{% endif %}
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_training_session_more_sessions.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_training_session_more_sessions.html.liquid
new file mode 100644
index 00000000..6cfafa87
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_training_session_more_sessions.html.liquid
@@ -0,0 +1,3 @@
+{% for session in training_event.sessions %}
+ {% include "training_session_tile", current_session: training_session %}
+{% endfor %}
diff --git a/Custom_Templates/customer_templates/Walmart Volt/_training_session_tile.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/_training_session_tile.html.liquid
new file mode 100644
index 00000000..e5ad8714
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/_training_session_tile.html.liquid
@@ -0,0 +1,17 @@
+{% if current_session.id != session.id %}
+
+
+
+
+ {{ session.month }} {{ session.day }}, {{ session.year }}
+
+
+ {{ session.time_period }} {{ session.time_zone }}
+
+
+
+
+{% endif %}
diff --git a/Custom_Templates/customer_templates/Walmart Volt/account.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/account.html.liquid
new file mode 100644
index 00000000..2ad5d917
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/account.html.liquid
@@ -0,0 +1,14 @@
+{% include "header" %}
+
+
+
+ {% include "account_mobile_view", form: form %}
+
+
+
+ {% include "account_desktop_view", form: form %}
+
+
+
+{% include "footer" %}
+
diff --git a/Custom_Templates/customer_templates/Walmart Volt/auth_url_email.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/auth_url_email.html.liquid
new file mode 100644
index 00000000..e69de29b
diff --git a/Custom_Templates/customer_templates/Walmart Volt/auth_url_employee.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/auth_url_employee.html.liquid
new file mode 100644
index 00000000..c8d8adf7
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/auth_url_employee.html.liquid
@@ -0,0 +1,59 @@
+
+
+ {% include "header_minimal" %}
+
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Volt/auth_url_phone_number.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/auth_url_phone_number.html.liquid
new file mode 100644
index 00000000..aafae119
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/auth_url_phone_number.html.liquid
@@ -0,0 +1,40 @@
+
+
+ {% include "header_minimal" %}
+
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Volt/auth_url_terms.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/auth_url_terms.html.liquid
new file mode 100644
index 00000000..a7087db2
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/auth_url_terms.html.liquid
@@ -0,0 +1,74 @@
+
+
+ {% include "header_minimal" %}
+
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Volt/catalog.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/catalog.html.liquid
new file mode 100644
index 00000000..d7b380b8
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/catalog.html.liquid
@@ -0,0 +1,23 @@
+{% include "header" %}
+{% include "course_version_outdated_alert", courses: courses.in_catalog %}
+{% include "sub_navigation" %}
+
+
+ {% include "courses_catalog" %}
+
+{% include "footer" %}
diff --git a/Custom_Templates/customer_templates/Walmart Volt/course.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/course.html.liquid
new file mode 100644
index 00000000..d77e09ba
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/course.html.liquid
@@ -0,0 +1,10 @@
+{% include "header" %}
+
+
+ {% include "course_desktop_view" %}
+
+
+ {% include "course_mobile_view" %}
+
+
+{% include "footer" %}
diff --git a/Custom_Templates/customer_templates/Walmart Volt/courses.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/courses.html.liquid
new file mode 100644
index 00000000..a1424b96
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/courses.html.liquid
@@ -0,0 +1,171 @@
+{% comment %} {% include "header" %} {% endcomment %}
+{% include "course_version_outdated_alert", courses: courses.enrolled %}
+{% comment %} {% include "sub_navigation" %} {% endcomment %}
+
+
+
+
+
+
+
+
+
+
+
+ {% assign incomplete_course_count = 0 %}
+ {% for course in courses.enrolled %}
+ {% unless course.completed? %}
+ {% assign incomplete_course_count = incomplete_course_count | plus: 1 %}
+ {% endunless %}
+ {% endfor %}
+
+ {% if incomplete_course_count > 0%}
+
+ {{incomplete_course_count}} of {{courses.enrolled.size}} Courses Remaining
+
+
+ {% for course in courses.enrolled %}
+ {% unless course.completed? %}
+
+ {% include "cards_course" with course %}
+
+ {% endunless %}
+ {% endfor %}
+ {% endif %}
+
+
+
+
+
+ After you have completed your required Courses, download the "Walmart Volt" app. You will use the app to Check In and Out of stores. Choose your app store below.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ If your company installs mobile apps for you, then you can open the app on your device after they have completed the installation.
+
+
+
+
+
+ {% assign completed_course_count = 0 %}
+ {% for course in courses.enrolled %}
+ {% if course.completed? %}
+ {% assign completed_course_count = completed_course_count | plus: 1 %}
+ {% endif %}
+ {% endfor %}
+
+ {% if completed_course_count > 0%}
+
+ {{ completed_course_count }} of {{ courses.enrolled.size }} Courses Completed
+
+
+ {% for course in courses.enrolled %}
+ {% if course.completed? %}
+
+ {% include "cards_course" with course %}
+
+ {% endif %}
+ {% endfor %}
+ {% endif %}
+
+
+
+{% comment %} {% include "footer" %} "col-xs-12 col-sm-6 col-lg-4 np-stretch-content" {% endcomment %}
+{% include "footer" %}
+
+
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Volt/dashboard.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/dashboard.html.liquid
new file mode 100644
index 00000000..68704339
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/dashboard.html.liquid
@@ -0,0 +1,31 @@
+
+{% comment %} {% include "header" %}
+{% include "course_version_outdated_alert", courses: courses.enrolled %}
+{% include "sub_navigation" %}
+
+
+
+ {% if features.learning_paths? %}
+
+ {% t shared.learning_paths %}
+
+ {% include "learning_paths_index", items: learning_paths.enrolled %}
+ {% endif %}
+
+ {% 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" %} {% endcomment %}
\ No newline at end of file
diff --git a/Custom_Templates/customer_templates/Walmart Volt/forgot_password.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/forgot_password.html.liquid
new file mode 100644
index 00000000..3d65513f
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/forgot_password.html.liquid
@@ -0,0 +1,25 @@
+
+
+ {% include "header_minimal" %}
+
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Volt/homepage.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/homepage.html.liquid
new file mode 100644
index 00000000..77559cc9
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/homepage.html.liquid
@@ -0,0 +1,52 @@
+{% include "header" %}
+{% include "course_version_outdated_alert", courses: courses.featured %}
+
+
+
+
+
+ {% include "sub_navigation" %}
+
+
+
+ {{ homepage.featured_courses_headline }}
+
+
+ {{ homepage.featured_courses_subheadline }}
+
+
+ {% if courses.featured.any? %}
+
+ {% for course in courses.featured %}
+
+ {% include "cards_course" with course %}
+
+ {% endfor %}
+
+ {% else %}
+
+
+ {% t .empty, key: current_school.course_vocabulary %}
+
+
+
+ {% endif %}
+
+
+{% include "footer" %}
diff --git a/Custom_Templates/customer_templates/Walmart Volt/learning_path.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/learning_path.html.liquid
new file mode 100644
index 00000000..5cbb5a93
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/learning_path.html.liquid
@@ -0,0 +1,10 @@
+{% include "header" %}
+
+
+ {% include "learning_path_desktop_view" %}
+
+
+ {% include "learning_path_mobile_view" %}
+
+
+{% include "footer" %}
diff --git a/Custom_Templates/customer_templates/Walmart Volt/learning_path_summary.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/learning_path_summary.html.liquid
new file mode 100644
index 00000000..99ae32ed
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/learning_path_summary.html.liquid
@@ -0,0 +1,10 @@
+{% include "header" %}
+
+
+ {% include "learning_path_summary_desktop_view" %}
+
+
+ {% include "learning_path_summary_mobile_view" %}
+
+
+{% include "footer" %}
diff --git a/Custom_Templates/customer_templates/Walmart Volt/learning_paths.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/learning_paths.html.liquid
new file mode 100644
index 00000000..e6e10cba
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/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/Walmart Volt/login.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/login.html.liquid
new file mode 100644
index 00000000..bde185dd
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/login.html.liquid
@@ -0,0 +1,53 @@
+
+
+ {% include "header_minimal" %}
+
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Volt/master.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/master.html.liquid
new file mode 100644
index 00000000..63345068
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/master.html.liquid
@@ -0,0 +1 @@
+{% body %}
diff --git a/Custom_Templates/customer_templates/Walmart Volt/not_found.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/not_found.html.liquid
new file mode 100644
index 00000000..91c76e4b
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/not_found.html.liquid
@@ -0,0 +1,10 @@
+
+
+
+
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Volt/private_certificate.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/private_certificate.html.liquid
new file mode 100644
index 00000000..15d05419
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/private_certificate.html.liquid
@@ -0,0 +1,10 @@
+{% include "header" %}
+{% include "certificates_top_bar" %}
+
+
+
+ {% include "certificates_preview" %}
+ {% include "certificates_info_column" %}
+
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Volt/public_certificate.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/public_certificate.html.liquid
new file mode 100644
index 00000000..15d05419
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/public_certificate.html.liquid
@@ -0,0 +1,10 @@
+{% include "header" %}
+{% include "certificates_top_bar" %}
+
+
+
+ {% include "certificates_preview" %}
+ {% include "certificates_info_column" %}
+
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Volt/reset_password.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/reset_password.html.liquid
new file mode 100644
index 00000000..281c6eaa
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/reset_password.html.liquid
@@ -0,0 +1,43 @@
+
+
+ {% include "header_minimal" %}
+
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Volt/search.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/search.html.liquid
new file mode 100644
index 00000000..01684399
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/search.html.liquid
@@ -0,0 +1,27 @@
+{% include "header" %}
+
+
+ {% t .title %}
+
+
+ {% if results.items.any? %}
+ {% render "search_result" for results.items as result %}
+ {% else %}
+ {% include "search_zero_state" %}
+ {% endif %}
+
+{% include "footer" %}
diff --git a/Custom_Templates/customer_templates/Walmart Volt/sign_up.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/sign_up.html.liquid
new file mode 100644
index 00000000..7a903da4
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/sign_up.html.liquid
@@ -0,0 +1,72 @@
+
+
+ {% include "header_minimal" %}
+
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Volt/styles.css.liquid b/Custom_Templates/customer_templates/Walmart Volt/styles.css.liquid
new file mode 100644
index 00000000..82ca640e
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/styles.css.liquid
@@ -0,0 +1,52 @@
+ /*
+ 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 }}
+*/
+
+.green-status{
+ color: green;
+}
+
+.green-bar,
+.green-button{
+ background: green;
+}
+
+.green-button{
+ color: white;
+}
+
+/* @media screen and (min-width: 0px){ */
+.np-card-container {
+ display: flex;
+ flex-direction: column;
+ height: 100%;
+}
+/* } */
+
+.np-learning-path{
+ display: flex;
+}
+
+.np-learning-path-image {
+ -o-object-fit: cover;
+ object-fit: cover;
+ width: 33%;
+}
+
+.np-mobile-view{
+ display: block;
+}
+
+@media screen and (min-width: 768px) {
+ .np-mobile-view{
+ display: none;
+ }
+}
\ No newline at end of file
diff --git a/Custom_Templates/customer_templates/Walmart Volt/training_events.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/training_events.html.liquid
new file mode 100644
index 00000000..139717ee
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/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/Custom_Templates/customer_templates/Walmart Volt/training_session.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/training_session.html.liquid
new file mode 100644
index 00000000..5b78b834
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/training_session.html.liquid
@@ -0,0 +1,10 @@
+{% include "header" %}
+
+
+ {% include "training_session_desktop_view" %}
+
+
+ {% include "training_session_mobile_view" %}
+
+
+{% include "footer" %}
diff --git a/Custom_Templates/customer_templates/Walmart Volt/training_session_attendance.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/training_session_attendance.html.liquid
new file mode 100644
index 00000000..71bb6119
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/training_session_attendance.html.liquid
@@ -0,0 +1,43 @@
+{% include "header" %}
+
+
+ {% if token %}
+
+
+ {{ training_session.title }}
+
+
+ {% t .info,
+ event_name: training_session.title,
+ session_date: training_session.date,
+ session_time: training_session.time
+ %}
+
+
+ {% t .question %}
+
+
+
+ {% t .salutation %}
+
+
+ {{ current_school.name }}
+
+ {% else %}
+
+
+ {% t .success.response_text %}
+
+
+
+{% include "footer" %}
diff --git a/Custom_Templates/customer_templates/Walmart Volt/unsubscribe.html.liquid b/Custom_Templates/customer_templates/Walmart Volt/unsubscribe.html.liquid
new file mode 100644
index 00000000..69a54028
--- /dev/null
+++ b/Custom_Templates/customer_templates/Walmart Volt/unsubscribe.html.liquid
@@ -0,0 +1,30 @@
+{% include "header" %}
+
+
+ {% if token %}
+
+
+ {% t .unsubscribe_text %}
+
+
+ {% t .resubscribe_text %}
+
+
+ {% else %}
+
+
+ {% t .resubscribed_text %}
+
+ {% endif %}
+
+
+{% include "footer" %}
diff --git a/Scripts/Migration_tool/Mark_Course_As_Complete/mark_course_as_complete.py b/Scripts/Migration_tool/Mark_Course_As_Complete/mark_course_as_complete.py
index 7791b71b..a33fd451 100644
--- a/Scripts/Migration_tool/Mark_Course_As_Complete/mark_course_as_complete.py
+++ b/Scripts/Migration_tool/Mark_Course_As_Complete/mark_course_as_complete.py
@@ -76,11 +76,6 @@ ITEM_TYPES = [
"learning_path_attempts",
]
-PPL_URL = "people"
-COURSE_URL = "courses"
-ITEM_URL = "items"
-PROJ_URL = "projects"
-
def get_people():
email = "norm@rsmsn.co"
@@ -90,18 +85,31 @@ def get_people():
ppl_email = learner[1]
people[ppl_email] = ppl_uuid
get_courses(ppl_uuid)
- create_person_resource()
elif type(email) is list:
person_uuids = get_group_person(email)
else:
print("Couldn't recognize the type of data you're trying to use.")
+def get_individual_person(email):
+ url = f"{baseurl}/people?filter[email][eq]={email}"
+ returned = calls.get(url)
+
+ for items in returned["data"]:
+ if items["attributes"]["registration_status"] == "activated":
+ single_uuid = items["id"]
+ single_email = items["attributes"]["email"]
+ print(
+ f"Awesome. This dude is activated. Proceeding with learner {single_uuid}"
+ )
+ return (single_uuid, single_email)
+ else:
+ print("Sorry bruv, but ya mate ain't activated yet. Can't do nuffin.")
+
def get_courses(learner_uuid):
course = "Norm Manager Test"
if type(course) is str:
course_return = get_individual_course(course, learner_uuid)
- create_course_resource()
elif type(course) is list:
courses_uuids = get_group_course(course, learner_uuid)
else:
@@ -117,9 +125,9 @@ def get_individual_course(name, learner_uuid):
course_name = items["attributes"]["name"]
courses[course_name] = course_uuid
print(f"Cool. Course {course_uuid} exists. Checking enrollments.")
- enrollment = get_enrollment_status(course_uuid, learner_uuid)
-
- # Use this to get a specific value from the courses sub-dict
+ # There is no need to create an enrollment or even check. So we can move straight to attempt.
+ # enrollment = get_enrollment_status(course_uuid, learner_uuid)
+ create_attempt_resource()
def get_enrollment_status(uuid, learner_uuid):
@@ -141,9 +149,9 @@ def get_enrollment_status(uuid, learner_uuid):
"data": {
"enrolled_at": formatted_now,
"course_id": f"{ list(courses.values())[0] }",
- "person_id": f"{ list(people.values())[0] }"
- }
- }
+ "person_id": f"{ list(people.values())[0] }",
+ },
+ },
}
]
}
@@ -151,7 +159,7 @@ def get_enrollment_status(uuid, learner_uuid):
mig_enroll = calls.post(mig_enroll_url, mig_enroll_payload)
print("Cool, enrollment resource has been created. Let's check that it exists.")
resource_check = check_resources()
- if resource_check['data'] != []:
+ if resource_check["data"] != []:
print("We're in! Enrollment confirmed. Let's create an attempt")
create_item("course_attempts")
@@ -162,34 +170,38 @@ def get_enrollment_status(uuid, learner_uuid):
def check_item(itype):
if itype not in items:
- create_item(itype)
- create_attempt_resource()
+ item_return = create_item(itype)
+ return item_return
else:
- create_attempt_resource()
+ return ""
+
def create_attempt_resource():
- print(f"Is there a project ID? {list(probject.values())[0]}")
- attempt_url = f"{baseurl}/migration/projects/{list(probject.values())[0]}/items/{list(items.values())[0]}/course_attempt_resources"
- print(attempt_url)
- now = datetime.now()
- formatted_now = now.strftime("%Y-%m-%d %H:%M:%S")
- new_attempt_payload = { "data": [
- {
- "type": "course_attempts",
+ item = check_item("course_attempts")
+ print(f"Is there a resource item with the correct type? {item}")
+ attempt_url = f"{baseurl}/migration/projects/{list(probject.values())[0]}/items/{item}/course_attempt_resources"
+ print(attempt_url)
+ now = datetime.now()
+ formatted_now = now.strftime("%Y-%m-%d %H:%M:%S")
+ attempt_payload = {
+ "data": [
+ {
+ "type": "course_attempt_resources",
"attributes": {
- "uuid": "1234567890",
- "display_name": f"{list(people.keys())[0]}'s Attempt for course {list(courses.keys())[0]}",
+ "uuid": "63485bb7-0ca4-4ee0-b1ad-a8140c754856",
+ # "display_name": f"{list(people.keys())[0]}'s Attempt for course {list(courses.keys())[0]}",
+ "display_name": "Course Attempt",
"data": {
- "learner_id": f"{list(people.keys())[0]}",
+ "learner_id": f"{list(people.values())[0]}",
"course_id": f"{list(courses.values())[0]}",
- "progress": "100",
- "started_at": f"{datetime.now() - timedelta(hours=2)}",
+ "progress": 100,
"enrolled_at": f"{datetime.now() - timedelta(hours=3)}",
+ "started_at": f"{datetime.now() - timedelta(hours=2)}",
"completed_at": formatted_now,
"completed_activities": [
{
- "uuid": "1111",
- "completed_at": formatted_now
+ "id": "63485bb7-0ca4-4ee0-b1ad-a8140c754856",
+ "completed_at": formatted_now
}
]
}
@@ -197,17 +209,16 @@ def create_attempt_resource():
}
]
}
- mig_attempt_url = f"{baseurl}migration/projects/{list(probject.values())[0]}/items/{list(probject.values())[0]}/enrollment_resources"
- mig_attempt_call = calls.post(attempt_url, new_attempt_payload)
- checking = check_resources()
- print(checking)
+ print(attempt_payload)
+ course_attempt_call = calls.post(attempt_url, attempt_payload)
+ print(course_attempt_call)
+ checking = check_resources()
+ print(checking)
def check_resources():
print("Checking resources")
- get_resources_url = (
- f"{baseurl}/migration/projects/{list(probject.values())[0]}/items/{list(items.values())[0]}/resources"
- )
+ get_resources_url = f"{baseurl}/migration/projects/{list(probject.values())[0]}/items/{list(items.values())[0]}/resources"
get_resources = calls.get(get_resources_url)
if get_resources["data"] == []:
print("Something went wrong. No resources were created.")
@@ -223,17 +234,17 @@ def create_project():
"attributes": {"name": project_name},
}
}
- proj_full_url = f"{baseurl}/migration/{PROJ_URL}"
+ proj_full_url = f"{baseurl}/migration/projects"
tmp_p = calls.post(proj_full_url, proj_payload)
probject[project_name] = tmp_p["data"]["id"]
print(f"Created Project: {probject}")
- i_type = "enrollments"
- create_item(i_type)
def create_item(i_type):
# Item Type Options: 'courses', 'sections', 'activities', 'people', 'enrollments', 'course_attempts', 'quiz_attempts', 'certificates', 'learning_path_attempts'
- item_full_url = (f"{baseurl}/migration/{PROJ_URL}/{list(probject.values())[0]}/{ITEM_URL}")
+ item_full_url = (
+ f"{baseurl}/migration/projects/{list(probject.values())[0]}/items"
+ )
item_type = i_type
print(item_type)
item_payload = {
@@ -248,47 +259,49 @@ def create_item(i_type):
print(f"Created Item ID: { items[item_type] }")
return item_id
+
def create_person_resource():
item_id = create_item("people")
persource_url = f"{baseurl}/migration/projects/{list(probject.values())[0]}/items/{item_id}/person_resources"
persource_payload = {
- "data": [
- {
- "type": "people",
- "attributes": {
- "uuid": f"{list(people.values())[0]}",
- "display_name": f"{list(people.keys())[0]}",
- "data": {
- "first_name": "FIRST",
- "last_name": "NAME",
- "email": "norm@rsmsn.co"
- }
- }
- },
- ]
+ "data": [
+ {
+ "type": "people",
+ "attributes": {
+ "uuid": f"{list(people.values())[0]}",
+ "display_name": f"{list(people.keys())[0]}",
+ "data": {
+ "first_name": "FIRST",
+ "last_name": "NAME",
+ "email": "norm@rsmsn.co",
+ },
+ },
+ },
+ ]
}
pers_return = calls.post(persource_url, persource_payload)
print(f"Person Resource - {pers_return}")
+
def create_course_resource():
item_id = create_item("courses")
coursource_url = f"{baseurl}/migration/projects/{list(probject.values())[0]}/items/{item_id}/person_resources"
coursource_payload = {
- "data": [
- {
- "type": "courses",
- "attributes": {
- "uuid": f"{list(people.values())[0]}",
- "display_name": f"{list(people.keys())[0]}",
- "data": {
- "name": "Norm's Manager Test",
- "short_description": "
Short Desc",
- "full_description": " Full Desc",
- "navigation_mode": "Free Form"
- }
- }
- },
- ]
+ "data": [
+ {
+ "type": "courses",
+ "attributes": {
+ "uuid": f"{list(people.values())[0]}",
+ "display_name": f"{list(people.keys())[0]}",
+ "data": {
+ "name": "Norm's Manager Test",
+ "short_description": " Short Desc",
+ "full_description": " Full Desc",
+ "navigation_mode": "Free Form",
+ },
+ },
+ },
+ ]
}
cours_return = calls.post(coursource_url, coursource_payload)
print(f"Course Resource - {cours_return}")
@@ -303,24 +316,7 @@ def get_group_course(list):
for items in returned["data"]:
multiple_uuids.append(learner_uuid)
-
-def get_individual_person(email):
- url = f"{baseurl}/people?filter[email][eq]={email}"
- returned = calls.get(url)
-
- for items in returned["data"]:
- if items["attributes"]["registration_status"] == "activated":
- single_uuid = items["id"]
- single_email = items["attributes"]["email"]
- # first_name = items["attributes"]["name"].split()[0]
- # last_name = items["attributes"]["name"].split()[1]
- # person = (first_name, last_name, single_email, single_uuid)
- print(
- f"Awesome. This dude is activated. Proceeding with learner {single_uuid}"
- )
- return (single_uuid, single_email)
- else:
- print("Sorry bruv, but ya mate ain't activated yet. Can't do nuffin.")
+ return multiple_uuids
def get_group_person(list):
@@ -339,8 +335,11 @@ def get_group_person(list):
print("Sorry bruv, but ya mate ain't activated yet. Can't do nuffin.")
return multiple_uuids
+
def start_migration():
- start_url = f"{baseurl}/migration/projects/{list(probject.values())[0]}/start_migration"
+ start_url = (
+ f"{baseurl}/migration/projects/{list(probject.values())[0]}/start_migration"
+ )
empty = ""
mig = calls.post(start_url, empty)
print(mig.text)
diff --git a/Scripts/Migration_tool/migration_playground.py b/Scripts/Migration_tool/migration_playground.py
index 5e47acfd..968032f5 100644
--- a/Scripts/Migration_tool/migration_playground.py
+++ b/Scripts/Migration_tool/migration_playground.py
@@ -120,12 +120,10 @@ def create_project():
"""
project_name = ""
payload = {
- "data":[
+ "data": [
{
- "type": "migration_projects",
- "attributes": {
- "name": project_name
- },
+ "type": "migration_projects",
+ "attributes": {"name": project_name},
}
]
}
@@ -137,16 +135,23 @@ def get_all_projects():
"""
Returns all projects.
"""
+ count = 0
project_ids = []
- url = f"{BASEURL}/projects"
- ret = calls.get(url)
+ while True:
+ count += 1
+ url = f"{BASEURL}/projects?page={count}"
+ ret = calls.get(url)
+ nextlink = ret["links"]
- if ret["data"] != []:
- for items in ret["data"]:
- project_ids.append(items["id"])
- print(f"{ items['attributes']['name'] } -- { items['id'] }")
- else:
- print("Looks like there are no projects created!")
+ if ret["data"] != []:
+ for items in ret["data"]:
+ project_ids.append(items["id"])
+ print(f"{ items['attributes']['name'] } -- { items['id'] }")
+
+ if "next" not in nextlink:
+ break
+ else:
+ print("Looks like there are no projects created!")
return project_ids
@@ -173,6 +178,7 @@ def get_specific_project():
ret = calls.get(url)
print(ret)
+
def create_course():
project_id = "6c7a21c2-de35-4b9d-9b80-a235401783af"
item_id = "80b95e38-78d1-44b9-8d9f-be96d9c7bf6e"
@@ -212,17 +218,17 @@ def create_enrollment():
enroll_payload = {
"data": [
{
- "attributes": {
- "uuid": "1234567890",
- "display_name": "Enrollment Resource Test",
- "type": "course",
- "data": {
- "enrolled_at": formatted_now,
- "course_id": course_uuid,
- "person_id": learner_uuid
+ "attributes": {
+ "uuid": "1234567890",
+ "display_name": "Enrollment Resource Test",
+ "type": "course",
+ "data": {
+ "enrolled_at": formatted_now,
+ "course_id": course_uuid,
+ "person_id": learner_uuid,
+ },
}
}
- }
]
}
enroll_url = calls.post(
@@ -258,7 +264,7 @@ def create_attempt():
"completed_at": formatted_now,
"completed_activities": [
{"uuid": "1111", "completed_at": formatted_now}
- ]
+ ],
}
}
}
@@ -278,6 +284,7 @@ def create_attempt():
)
"""
+
def get_item():
project_id = "c8341414-58da-4291-8507-216da3fbf045"
item_id = "4ce43bf5-0c73-427b-ad96-17b5aa8f16b2"
@@ -287,14 +294,11 @@ def get_item():
print(get_item)
-
def check_resources():
PROJ_ID = "6c7a21c2-de35-4b9d-9b80-a235401783af"
ITEM_ID = "80b95e38-78d1-44b9-8d9f-be96d9c7bf6e"
print("Checking resources")
- get_resources_url = (
- f"{BASEURL}/projects/{PROJ_ID}/items/{ITEM_ID}/resources"
- )
+ get_resources_url = f"{BASEURL}/projects/{PROJ_ID}/items/{ITEM_ID}/resources"
get_resources = calls.get(get_resources_url)
print(get_resources)
# if get_resources["data"] == []:
@@ -305,12 +309,12 @@ def check_resources():
if __name__ == "__main__":
- # delete_all_projects()
+ delete_all_projects()
# read_json_docs()
# create_project()
# get_all_projects()
- get_specific_project()
+ # get_specific_project()
# create_enrollment()
# check_resources()
- get_item()
+ # get_item()
# create_attempt()