diff --git a/Custom_Templates/customer_templates/Walmart Scintilla Prod/.DS_Store b/Custom_Templates/customer_templates/Walmart Scintilla Prod/.DS_Store deleted file mode 100644 index 5008ddfc..00000000 Binary files a/Custom_Templates/customer_templates/Walmart Scintilla Prod/.DS_Store and /dev/null differ diff --git a/Custom_Templates/customer_templates/Walmart Scintilla Prod/_account_tabs.html.liquid b/Custom_Templates/customer_templates/Walmart Scintilla Prod/_account_tabs.html.liquid new file mode 100644 index 00000000..82c75181 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Scintilla Prod/_account_tabs.html.liquid @@ -0,0 +1,32 @@ +{% capture settings_path %}{% route account %}{% endcapture %} +{% capture transcript_path %}{% route transcript %}{% endcapture %} +{% capture order_history_path %}{% route order_history %}{% endcapture %} + +{% if current_person.signed_in? %} +{% unless current_school.sso_active? %} + +{% endunless %} +{% endif %} diff --git a/Custom_Templates/customer_templates/Walmart Scintilla Prod/_basic_group_homepage.html.liquid b/Custom_Templates/customer_templates/Walmart Scintilla Prod/_basic_group_homepage.html.liquid index f081b187..363ab555 100644 --- a/Custom_Templates/customer_templates/Walmart Scintilla Prod/_basic_group_homepage.html.liquid +++ b/Custom_Templates/customer_templates/Walmart Scintilla Prod/_basic_group_homepage.html.liquid @@ -1,337 +1,29 @@ -
-
-
- Courses -
- -
- {% if items.size > 0 %} - {% assign new_courses_count = 0 %} -
-
- {% for course in items %} - {% if course.properties.is_article_course == false %} - {% if course.started? == false %} - {% assign new_courses_count = new_courses_count | plus: 1 %} -
- {% include "cards_course_ongoing" with course %} -
- {% endif %} - {% endif %} - {% endfor %} + - -
-
-
- Ongoing Training -
- -
- {% if items.size > 0 %} - {% assign ongoing_courses_count = 0 %} -
-
- {% for course in items %} - {% if course.properties.is_article_course == false %} - {% if course.progress > 0 and course.progress < 100 %} - {% assign ongoing_courses_count = ongoing_courses_count | plus: 1 %} -
- {% include "cards_course_ongoing" with course %} -
- {% endif %} - {% endif %} - {% endfor %} -
-
- - {% if ongoing_courses_count > 0 %} - {% else %} - - - {% endif %} - {% else %} - -
- {% endif %} - -
-
-
-
Progress Tracker
-
-
- {% assign lps_in_progress = 0 %} - {% assign enrolled_learning_paths = learning_paths.enrolled | sort: "progress" | reverse %} - {% for learning_path in enrolled_learning_paths %} - {% if learning_path.progress > 0 %} - {% assign lps_in_progress = lps_in_progress | plus: 1 %} - - {% if lps_in_progress < 4 %} -
- {% include "cards_learning_path_progress" %} -
- - {% endif %} - {% endif %} - {% endfor %} - - {% if lps_in_progress > 0 %} - {% endif %} - {% if lps_in_progress == 0 %} -
-
-
- Yikes! You don't have any learning Paths in progress. -
- -
-
- - {% endif %} +
+
+
+
+ Get Certified +
+ {% include "content_by_certificates" %} +
+ - -
+
+
+ Upcoming Events +
+ {% include "content_by_bundles" %} +
+
-
- -{% include "footer" %} - - - +
+ \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Scintilla Prod/_basic_group_homepage_ongoing_training.html.liquid b/Custom_Templates/customer_templates/Walmart Scintilla Prod/_basic_group_homepage_ongoing_training.html.liquid new file mode 100644 index 00000000..deec8b1c --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Scintilla Prod/_basic_group_homepage_ongoing_training.html.liquid @@ -0,0 +1,314 @@ +
+
+
+ Courses +
+ +
+ {% if items.size > 0 %} + {% assign new_courses_count = 0 %} +
+
+ {% for course in courses.enrolled %} + {% if course.started? == false %} + {% assign new_courses_count = new_courses_count | plus: 1 %} +
+ {% include "cards_article" with course %} +
+ {% endif %} + {% endfor %} +
+
+ + {% if new_courses_count > 0 %} + + {% else %} + + + {% endif %} + {% else %} + + {% endif %} +
+ +
+
+
+ Ongoing Training +
+ +
+ {% if items.size > 0 %} + {% assign ongoing_courses_count = 0 %} +
+
+ {% for course in items %} + {% if course.properties.is_article_course == false %} + {% if course.progress > 0 and course.progress < 100 %} + {% assign ongoing_courses_count = ongoing_courses_count | plus: 1 %} +
+ {% include "cards_course_ongoing" with course %} +
+ {% endif %} + {% endif %} + {% endfor %} +
+
+ + {% if ongoing_courses_count > 0 %} + {% else %} + + + {% endif %} + {% else %} + + {% endif %} + +
+ + + + + diff --git a/Custom_Templates/customer_templates/Walmart Scintilla Prod/_bundle_description.html.liquid b/Custom_Templates/customer_templates/Walmart Scintilla Prod/_bundle_description.html.liquid new file mode 100644 index 00000000..e7e891ca --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Scintilla Prod/_bundle_description.html.liquid @@ -0,0 +1,6 @@ +

+ {% t .about %} +

+
+ {{ product.description }} +
diff --git a/Custom_Templates/customer_templates/Walmart Scintilla Prod/_bundle_desktop_header.html.liquid b/Custom_Templates/customer_templates/Walmart Scintilla Prod/_bundle_desktop_header.html.liquid new file mode 100644 index 00000000..6fb22dec --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Scintilla Prod/_bundle_desktop_header.html.liquid @@ -0,0 +1,12 @@ +
+
+ {% t shared.product_types.bundle %} + +
+
+ + + + {{ product.name }} +
+
diff --git a/Custom_Templates/customer_templates/Walmart Scintilla Prod/_bundle_product_desktop_view.html.liquid b/Custom_Templates/customer_templates/Walmart Scintilla Prod/_bundle_product_desktop_view.html.liquid new file mode 100644 index 00000000..66f57bdc --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Scintilla Prod/_bundle_product_desktop_view.html.liquid @@ -0,0 +1,21 @@ +{% include "bundle_desktop_header" %} +
+
+
+ {{ product.name }} +
+ {% include "bundle_description" %} +
+
+
+
+
+ {% include "product_price_and_cta"%} +
+ {% include "bundle_product_outline" %} +
+
diff --git a/Custom_Templates/customer_templates/Walmart Scintilla Prod/_bundle_product_mobile_view.html.liquid b/Custom_Templates/customer_templates/Walmart Scintilla Prod/_bundle_product_mobile_view.html.liquid new file mode 100644 index 00000000..89272b6d --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Scintilla Prod/_bundle_product_mobile_view.html.liquid @@ -0,0 +1,27 @@ +
+
+ {% t shared.product_types.bundle %} +
+
+ + + + {{ product.name }} +
+ {{ product.name }} +
+ {% include "product_price_and_cta" %} +
+
+ +
+ {% include "bundle_description" %} +
+ +
+ {% include "bundle_product_outline" %} +
diff --git a/Custom_Templates/customer_templates/Walmart Scintilla Prod/_bundle_product_outline.html.liquid b/Custom_Templates/customer_templates/Walmart Scintilla Prod/_bundle_product_outline.html.liquid new file mode 100644 index 00000000..9fc22512 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Scintilla Prod/_bundle_product_outline.html.liquid @@ -0,0 +1,12 @@ +
+

{% t shared.bundle.title %}

+ {% for item in product.bundle_items %} + {% if item.course? %} + {% include "product_outline_course", id: forloop.index %} + {% elsif item.training_event? %} + {% include "product_outline_event", id: forloop.index %} + {% elsif item.learning_path? %} + {% include "product_outline_lp", id: forloop.index %} + {% endif %} + {% endfor %} +
diff --git a/Custom_Templates/customer_templates/Walmart Scintilla Prod/_cards_catalog_item.html.liquid b/Custom_Templates/customer_templates/Walmart Scintilla Prod/_cards_catalog_item.html.liquid new file mode 100644 index 00000000..a096f57c --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Scintilla Prod/_cards_catalog_item.html.liquid @@ -0,0 +1,38 @@ +
+
+ {{ item.name }} +
+

+ {{ item.name }} +

+
+ +

{{ item.formatted_type }}

+
+ +
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Scintilla Prod/_cards_course_ongoing.html.liquid b/Custom_Templates/customer_templates/Walmart Scintilla Prod/_cards_course_ongoing.html.liquid index ca71767f..bb6bc7f4 100644 --- a/Custom_Templates/customer_templates/Walmart Scintilla Prod/_cards_course_ongoing.html.liquid +++ b/Custom_Templates/customer_templates/Walmart Scintilla Prod/_cards_course_ongoing.html.liquid @@ -30,7 +30,9 @@
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Scintilla Prod/_content_by_bundles.html.liquid b/Custom_Templates/customer_templates/Walmart Scintilla Prod/_content_by_bundles.html.liquid new file mode 100644 index 00000000..2e736561 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Scintilla Prod/_content_by_bundles.html.liquid @@ -0,0 +1,22 @@ +
+ {% for item in catalog.items %} + + {% if item.type == "bundle" %} + +
+
+ {{ item.name }} +
+
+
+
+ {% endif %} + {% endfor %} +
+ + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Scintilla Prod/_content_by_certificates.html.liquid b/Custom_Templates/customer_templates/Walmart Scintilla Prod/_content_by_certificates.html.liquid new file mode 100644 index 00000000..90379dd7 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Scintilla Prod/_content_by_certificates.html.liquid @@ -0,0 +1,127 @@ + +{% if basic_3p_user %} + {% assign lpitems = learning_paths.enrolled %} +{% else %} + {% assign lpitems = learning_paths.available %} +{% endif %} +
+ {% for learning_path in lpitems %} + {% if learning_path.has_certificate? %} + +
+
+ {{ learning_path.name }} +
+
+
+
+ {% endif %} + {% endfor %} +
+ + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Scintilla Prod/_course_product_desktop_view.html.liquid b/Custom_Templates/customer_templates/Walmart Scintilla Prod/_course_product_desktop_view.html.liquid new file mode 100644 index 00000000..ae8d50de --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Scintilla Prod/_course_product_desktop_view.html.liquid @@ -0,0 +1,41 @@ +
+
+ {% include "course_header" %} +
+
+
+
+ {{ course.name }} + {% 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 "product_price_and_cta" %} +
+ {% include "product_outline" %} +
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Scintilla Prod/_course_product_mobile_view.html.liquid b/Custom_Templates/customer_templates/Walmart Scintilla Prod/_course_product_mobile_view.html.liquid new file mode 100644 index 00000000..880a0f24 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Scintilla Prod/_course_product_mobile_view.html.liquid @@ -0,0 +1,31 @@ +
+ {% include "course_header" %} +
+ {% include "product_price_and_cta" %} +
+
+ +
+ {% include "course_description" %} +
+
+ {% include "product_outline" %} +
+ +{% 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 Scintilla Prod/_course_progress_and_cta.html.liquid b/Custom_Templates/customer_templates/Walmart Scintilla Prod/_course_progress_and_cta.html.liquid index 495c5a1b..8006bbca 100644 --- a/Custom_Templates/customer_templates/Walmart Scintilla Prod/_course_progress_and_cta.html.liquid +++ b/Custom_Templates/customer_templates/Walmart Scintilla Prod/_course_progress_and_cta.html.liquid @@ -49,7 +49,7 @@ href="{% route course_enrollment, code: course.enrollment_code %}" {% endif %} > - {% if course.enrolled? == false %} + {% if course.enrolled? == false and course.progress == 0 %} {% t shared.enroll %} {% elsif course.started? == false %} {% t shared.course.start, key: current_school.course_vocabulary %} diff --git a/Custom_Templates/customer_templates/Walmart Scintilla Prod/_dashboard_ongoing_training.html.liquid b/Custom_Templates/customer_templates/Walmart Scintilla Prod/_dashboard_ongoing_training.html.liquid new file mode 100644 index 00000000..ca9ce3e1 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Scintilla Prod/_dashboard_ongoing_training.html.liquid @@ -0,0 +1,191 @@ +
+
+
+ Ongoing Training +
+ +
+ {% if items.size > 0 %} + {% assign ongoing_courses_count = 0 %} +
+
+ {% for course in items %} + {% if course.properties.is_article_course == false %} + {% if course.progress > 0 and course.progress < 100 %} + {% assign ongoing_courses_count = ongoing_courses_count | plus: 1 %} +
+ {% include "cards_course_banner" with course %} +
+ {% endif %} + {% endif %} + {% endfor %} +
+
+ + {% if ongoing_courses_count > 0 %} +
+ See more +
+ {% else %} + + + {% endif %} + {% else %} + + {% endif %} +
+ + + + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Scintilla Prod/_header.html.liquid b/Custom_Templates/customer_templates/Walmart Scintilla Prod/_header.html.liquid index 7c4f41ff..b9829d1f 100644 --- a/Custom_Templates/customer_templates/Walmart Scintilla Prod/_header.html.liquid +++ b/Custom_Templates/customer_templates/Walmart Scintilla Prod/_header.html.liquid @@ -103,6 +103,14 @@ Basic Sandbox Group UUID = 9f5c51a3-8e02-4b81-9e48-7ec3adff7c70 {% if current_person.signed_in? %} + + {% if features.commerce? %} + + + {% t.cart %} + {% commerce_cart_badge %} + + {% endif %} {% unless basic_3p_user %}