From a7bb4f9973bb9c780c12922b13950e4713c72e63 Mon Sep 17 00:00:00 2001 From: Norm Rasmussen Date: Tue, 28 May 2024 17:04:58 -0400 Subject: [PATCH] Cin7 templates. Got a PDF for Walmart. Updated todos. --- .../Cin7 Customers/_badges_cards.html.liquid | 56 +++++++++++++----- .../Cin7 Customers/_footer.html.liquid | 16 ++--- .../Cin7 Customers/homepage.html.liquid | 2 +- .../_filters_catalog.html.liquid | 12 ++-- .../Cin7 Internal Academy/_footer.html.liquid | 12 ++-- .../G2/_course_desktop_view.html.liquid | 2 +- .../_header.html.liquid | 12 ++-- Custom_Templates/customer_templates/test.md | 1 + .../Driver Support options_05.09.2024.pdf | Bin 85907 -> 0 bytes Scripts/Walmart/single_resource.js | 2 +- Todos.md | 15 ++++- 11 files changed, 83 insertions(+), 47 deletions(-) create mode 100644 Custom_Templates/customer_templates/test.md delete mode 100644 Scripts/Walmart/PDFs/Driver Support options_05.09.2024.pdf diff --git a/Custom_Templates/customer_templates/Cin7 Customers/_badges_cards.html.liquid b/Custom_Templates/customer_templates/Cin7 Customers/_badges_cards.html.liquid index 6cb636cd..43cc9410 100644 --- a/Custom_Templates/customer_templates/Cin7 Customers/_badges_cards.html.liquid +++ b/Custom_Templates/customer_templates/Cin7 Customers/_badges_cards.html.liquid @@ -1,28 +1,53 @@ {% for course in courses.enrolled %} {% if course.progress == 100 and course.properties.badge_course == true %} + {% if course.name contains 'Omni' %}
+
+
+ {% elsif course.name contains 'Core' %} +
+
+ +
+
+ {% endif %} + {% if course.id == "0e5dc9ea-3ace-408c-8b8d-2841ba88bc66" %} +
+
+ +
+
+ {% endif %} + {% if course.id == "75be65eb-2941-42a5-9088-c0df68bf3fd8" %} +
+
+
-
+ + {% endif %} {% endif %} {% endfor %} diff --git a/Custom_Templates/customer_templates/Cin7 Customers/_footer.html.liquid b/Custom_Templates/customer_templates/Cin7 Customers/_footer.html.liquid index 415806df..d207f156 100644 --- a/Custom_Templates/customer_templates/Cin7 Customers/_footer.html.liquid +++ b/Custom_Templates/customer_templates/Cin7 Customers/_footer.html.liquid @@ -28,39 +28,39 @@ {% elsif core %} {% elsif log_out %} {% endif %} diff --git a/Custom_Templates/customer_templates/Cin7 Customers/homepage.html.liquid b/Custom_Templates/customer_templates/Cin7 Customers/homepage.html.liquid index b7117fac..ef86ab15 100644 --- a/Custom_Templates/customer_templates/Cin7 Customers/homepage.html.liquid +++ b/Custom_Templates/customer_templates/Cin7 Customers/homepage.html.liquid @@ -78,7 +78,7 @@
{% include 'learning_path_carousel_core' %}
-
Grow and broaden your Cin7 Core expertise with Deep Dives
+
Grow and broaden your Cin7 Core expertise with Deep Dives
{% include "category_carousel_core"%}
diff --git a/Custom_Templates/customer_templates/Cin7 Internal Academy/_filters_catalog.html.liquid b/Custom_Templates/customer_templates/Cin7 Internal Academy/_filters_catalog.html.liquid index ee0086e3..a7f1942f 100644 --- a/Custom_Templates/customer_templates/Cin7 Internal Academy/_filters_catalog.html.liquid +++ b/Custom_Templates/customer_templates/Cin7 Internal Academy/_filters_catalog.html.liquid @@ -1,8 +1,8 @@
Filters
-
Core Categories
-
+
Core Categories
+
{% assign unique_core_categories = "" %} {% for course in courses.in_catalog %} {% for category in course.categories %} @@ -34,7 +34,7 @@ {% endif %} {% endfor %} {% endfor %} -
+
@@ -47,11 +47,11 @@
-
+
-
+
@@ -61,7 +61,7 @@
- +