From 2ccb682b2f8de3ac146f770daa04c290dbf5ba79 Mon Sep 17 00:00:00 2001 From: Norm Rasmussen Date: Thu, 9 Jan 2025 15:29:57 -0500 Subject: [PATCH] Supplier templates. --- .../Walmart Supplier Prod/.DS_Store | Bin 0 -> 6148 bytes .../_welcome_section.html.liquid | 1 - .../_welcome_to_walmart_courses.html.liquid | 16 +++++++++------- .../_widget_course_progress.html.liquid | 2 +- .../Walmart Supplier Prod/homepage.html.liquid | 2 -- 5 files changed, 10 insertions(+), 11 deletions(-) create mode 100644 Custom_Templates/customer_templates/Walmart Supplier Prod/.DS_Store diff --git a/Custom_Templates/customer_templates/Walmart Supplier Prod/.DS_Store b/Custom_Templates/customer_templates/Walmart Supplier Prod/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..5008ddfcf53c02e82d7eee2e57c38e5672ef89f6 GIT binary patch literal 6148 zcmeH~Jr2S!425mzP>H1@V-^m;4Wg<&0T*E43hX&L&p$$qDprKhvt+--jT7}7np#A3 zem<@ulZcFPQ@L2!n>{z**++&mCkOWA81W14cNZlEfg7;MkzE(HCqgga^y>{tEnwC%0;vJ&^%eQ zLs35+`xjp>T0
@@ -12,7 +13,7 @@
- {% for learning_path in learning_paths.available %} + {% for learning_path in sorted_learning_paths %} {% for category in learning_path.categories %} {% if category.name == 'Introduction to Walmart'%} {% unless uniq_courses contains learning_path.name %} @@ -34,12 +35,13 @@
- {% for learning_path in learning_paths.available %} + {% assign uniq_courses = "" %} + {% for learning_path in sorted_learning_paths %} {% for category in learning_path.categories %} - {% if category.name == 'Onboarding'%} + {% if category.name == 'Onboarding' %} {% unless uniq_courses contains learning_path.name %} {% include 'cards_learning_paths_square' %} - {% assign uniq_courses = uniq_courses | append: learning_path.name %} + {% assign uniq_courses = uniq_courses | append: learning_path.name | append: "," %} {% endunless %} {% endif %} {% endfor %} @@ -56,7 +58,7 @@
- {% for learning_path in learning_paths.available %} + {% for learning_path in sorted_learning_paths %} {% for category in learning_path.categories %} {% if category.name == 'Merchandising'%} {% unless uniq_courses contains learning_path.name %} @@ -78,7 +80,7 @@
- {% for learning_path in learning_paths.available %} + {% for learning_path in sorted_learning_paths %} {% for category in learning_path.categories %} {% if category.name == 'Supply Chain'%} {% unless uniq_courses contains learning_path.name %} @@ -100,7 +102,7 @@
- {% for learning_path in learning_paths.available %} + {% for learning_path in sorted_learning_paths %} {% for category in learning_path.categories %} {% if category.name == 'Getting Paid'%} {% unless uniq_courses contains learning_path.name %} diff --git a/Custom_Templates/customer_templates/Walmart Supplier Prod/_widget_course_progress.html.liquid b/Custom_Templates/customer_templates/Walmart Supplier Prod/_widget_course_progress.html.liquid index 4e83d29f..ea578c11 100644 --- a/Custom_Templates/customer_templates/Walmart Supplier Prod/_widget_course_progress.html.liquid +++ b/Custom_Templates/customer_templates/Walmart Supplier Prod/_widget_course_progress.html.liquid @@ -114,7 +114,7 @@ font-size: 0.875rem; margin-top: 1rem; } - + @media (min-width:768px) { .progress-ring-wrapper { padding: 1.5rem 0.4rem 1rem 0.4rem; diff --git a/Custom_Templates/customer_templates/Walmart Supplier Prod/homepage.html.liquid b/Custom_Templates/customer_templates/Walmart Supplier Prod/homepage.html.liquid index aff26f9d..0c25b55a 100644 --- a/Custom_Templates/customer_templates/Walmart Supplier Prod/homepage.html.liquid +++ b/Custom_Templates/customer_templates/Walmart Supplier Prod/homepage.html.liquid @@ -5,11 +5,9 @@ {% endif %} {% endfor %} -{% if current_person.properties.modal %} {% if current_person.properties.first_login %} {% include 'modal' %} {% endif %} -{% endif %} {% include "header" %} {% include "course_version_outdated_alert", courses: courses.featured %}