diff --git a/Custom_Templates/customer_templates/Walmart Supplier Prod/_cards_course.html.liquid b/Custom_Templates/customer_templates/Walmart Supplier Prod/_cards_course.html.liquid index bec6767b..c0b9b723 100644 --- a/Custom_Templates/customer_templates/Walmart Supplier Prod/_cards_course.html.liquid +++ b/Custom_Templates/customer_templates/Walmart Supplier Prod/_cards_course.html.liquid @@ -6,7 +6,8 @@ {% endif %} {% endfor %} -
+ +
{% if course.ribbon %}
diff --git a/Custom_Templates/customer_templates/Walmart Supplier Prod/_cards_learning_paths_squares.html.liquid b/Custom_Templates/customer_templates/Walmart Supplier Prod/_cards_learning_paths_squares.html.liquid new file mode 100644 index 00000000..59695a7b --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Supplier Prod/_cards_learning_paths_squares.html.liquid @@ -0,0 +1,33 @@ + +
+
+ {{ learning_path.name }} +
+

+ {{ learning_path.name }} +

+

{{ learning_path.items.count }} modules

+ +
+
+
+ + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Supplier Prod/_catalog_categories.html.liquid b/Custom_Templates/customer_templates/Walmart Supplier Prod/_catalog_categories.html.liquid index 867c643a..d19e704d 100644 --- a/Custom_Templates/customer_templates/Walmart Supplier Prod/_catalog_categories.html.liquid +++ b/Custom_Templates/customer_templates/Walmart Supplier Prod/_catalog_categories.html.liquid @@ -13,7 +13,7 @@ {% if available_categories contains category.name %} {% comment %} {% endcomment %} {% unless uniq_cats contains category.name %} - + {% assign uniq_cats = uniq_cats | append: category.name%} diff --git a/Custom_Templates/customer_templates/Walmart Supplier Prod/_courses_catalog.html.liquid b/Custom_Templates/customer_templates/Walmart Supplier Prod/_courses_catalog.html.liquid index f33112ba..1583f8cb 100644 --- a/Custom_Templates/customer_templates/Walmart Supplier Prod/_courses_catalog.html.liquid +++ b/Custom_Templates/customer_templates/Walmart Supplier Prod/_courses_catalog.html.liquid @@ -31,3 +31,104 @@ {% include "grow-with-walmart-zero-state", message: message %} {% endif %} {% endif %} + + + + + diff --git a/Custom_Templates/customer_templates/Walmart Supplier Prod/_filters_catalog.html.liquid b/Custom_Templates/customer_templates/Walmart Supplier Prod/_filters_catalog.html.liquid new file mode 100644 index 00000000..5ccffbda --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Supplier Prod/_filters_catalog.html.liquid @@ -0,0 +1,141 @@ +
+
+ + +
+
+ +
+ {% assign uniq_cats = '' %} + {% for course in courses.enrolled %} + {% for category in course.categories %} + {% unless uniq_cats contains category.name %} + + {% assign uniq_cats = uniq_cats | append: category.name | append: '$' %} + {% endunless %} + {% endfor %} + {% endfor %} +
+
+ +
+
+
+
+ + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Supplier Prod/_headerstart.html.liquid b/Custom_Templates/customer_templates/Walmart Supplier Prod/_headerstart.html.liquid new file mode 100644 index 00000000..03050e44 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Supplier Prod/_headerstart.html.liquid @@ -0,0 +1,513 @@ +{% assign us_user_grow = false %} +{% assign us_user_supplier = false %} +{% assign india_user = false %} +{% assign mexico_user = false %} +{% assign category_advisors = false %} +{% assign samsclub = false %} +{% assign import = false %} + + + +{% for group in current_person.groups %} + {% if group.name == 'Grow With Walmart' %} + {% assign us_user_grow = true %} + {% endif %} + {% if group.name == 'Active Suppliers' %} + {% assign us_user_supplier = true %} + {% endif %} + {% if group.name == 'Walmart Vriddhi' %} + {% assign india_user = true %} + {% endif %} + {% if group.name == 'Crece con Walmart' %} + {% assign mexico_user = true %} + {% endif %} + {% if group.name == 'Category Advisors' %} + {% assign category_advisors = true %} + {% endif %} + {% if group.name == "Sam's Club" %} + {% assign samsclub = true %} + {% endif %} + {% if group.name == 'Import' %} + {% assign import = true %} + {% endif %} +{% endfor %} + + +
+
+ {% if current_school.logo_url %} +

+ + {{ current_school.name }} + +

+ {% else %} + + {{ current_school.name }} + + {% endif %} + +
+ +
+ + + + {% if current_person.signed_in? %} + +
+ {% if current_person.signed_in? %} + + + {% endif %} +
+
+ + +
+ {% else %} + + {% endif %} +
+
+ +
+
+ {% if current_person.signed_in? %} + {{ current_person.name }} +
+ {{ current_person.name }} +
+ {% endif %} +
+ + + Start Here + + {% for website_navigation in navigations.header_navigations %} + {% unless website_navigation.name == 'Dashboard' %} + + {% if website_navigation.name == '' %} + + {% endif %} + {{ website_navigation.name }} + + {% endunless %} + {% endfor %} + + Welcome to Walmart + + + Courses + + + Blog + + + Help Docs + +
+ + Contact + + {% unless current_school.sso_active? %} + + {% t .profile_settings %} + + {% endunless %} + + {% t .sign_out %} + +
+
+
+ +{% include "messages" %} + + + + diff --git a/Custom_Templates/customer_templates/Walmart Supplier Prod/_welcome_section_sams.html.liquid b/Custom_Templates/customer_templates/Walmart Supplier Prod/_welcome_section_sams.html.liquid new file mode 100644 index 00000000..7e88967a --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Supplier Prod/_welcome_section_sams.html.liquid @@ -0,0 +1,73 @@ +
+ + +
+ + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Supplier Prod/catalog.html.liquid b/Custom_Templates/customer_templates/Walmart Supplier Prod/catalog.html.liquid index b3587b85..eeb076e2 100644 --- a/Custom_Templates/customer_templates/Walmart Supplier Prod/catalog.html.liquid +++ b/Custom_Templates/customer_templates/Walmart Supplier Prod/catalog.html.liquid @@ -16,12 +16,7 @@ {% capture label %}{% t shared.filters.by_category %}{% endcapture %} {% if courses.enrolled.any? %} - {% - include "filter_dropdown", - filters: courses.filters, - key: "category_uuid", - label: label - %} + {% include 'filters_catalog' %} {% endif %}
{% include "courses_catalog" %} diff --git a/Custom_Templates/customer_templates/Walmart Supplier Prod/categories-catalog.htmll.liquid b/Custom_Templates/customer_templates/Walmart Supplier Prod/categories-catalog.htmll.liquid deleted file mode 100644 index e80359ba..00000000 --- a/Custom_Templates/customer_templates/Walmart Supplier Prod/categories-catalog.htmll.liquid +++ /dev/null @@ -1,23 +0,0 @@ -{% include "header" %} -{% include "course_version_outdated_alert", courses: courses.in_catalog %} -{% include "sub_navigation" %} -
-
-
-
{{ catalog.headline }}
-
{{ catalog.subheadline }}
-
- {% capture label %}{% t shared.filters.by_category %}{% endcapture %} - - {% if courses.in_catalog.any? %} - {% - include "filter_dropdown", - filters: courses.filters, - key: "category_uuid", - label: label - %} - {% endif %} -
- {% include "categories_courses_catalog" %} -
-{% include "footer" %} diff --git a/Custom_Templates/customer_templates/Walmart Supplier Prod/samsclub-onboarding.html.liquid b/Custom_Templates/customer_templates/Walmart Supplier Prod/samsclub-onboarding.html.liquid new file mode 100644 index 00000000..0338d76b --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Supplier Prod/samsclub-onboarding.html.liquid @@ -0,0 +1,41 @@ +{% if current_person.properties.first_login == true %} + +{% endif %} + +{% assign in_progress_courses = 0 %} +{% for course in courses.enrolled %} + {% if course.progress > 0 and course.progress < 100 %} + {% assign in_progress_courses = in_progress_courses | plus: 1 %} + {% endif %} +{% endfor %} + + +{% include "headerstart" %} +{% include "course_version_outdated_alert", courses: courses.featured %} +
+ {% include 'welcome_section_sams' %} +
+ {% for learning_path in learning_paths.enrolled %} + {% for category in learning_path.categories %} + {% if category.name == "Sam's Club" %} + {% include "cards_learning_paths_squares" %} + {% endif %} + {% endfor %} + {% endfor %} +
+
+{% include "footer" %} + + \ No newline at end of file