From 3ab8bc6ff4fad26d8c6c38448f71c8ba5dd27ffa Mon Sep 17 00:00:00 2001 From: Norm Rasmussen Date: Mon, 6 Feb 2023 15:07:51 -0500 Subject: [PATCH] Some notes and file clean up. JJSV Templates --- .../JJSV/_cards_catalog.html.liquid | 69 +++++-- .../JJSV/_cards_course.html.liquid | 65 +++++-- .../JJSV/_cards_course_horizontal.html.liquid | 182 ++++++++++++++++++ .../JJSV/_category_filter_sidebar.html.liquid | 22 +-- ...ry_filter_sidebar_product_page.html.liquid | 120 ++++++++++++ .../JJSV/_course_desktop_view.html.liquid | 30 +-- .../JJSV/_courses_catalog.html.liquid | 15 +- ...rses_catalog_product_education.html.liquid | 22 +++ .../JJSV/_courses_index.html.liquid | 16 ++ .../JJSV/_footer.html.liquid | 36 ++-- .../JJSV/_header.html.liquid | 104 +++++++++- .../JJSV/catalog.html.liquid | 17 +- .../JJSV/course.html.liquid | 23 ++- .../JJSV/dashboard.html.liquid | 19 +- .../JJSV/homepage.html.liquid | 2 +- .../JJSV/product-education.html.liquid | 92 ++++++++- .../JJSV/sign-up-cont.html.liquid | 57 +++++- .../customer_templates/JJSV/styles.css.liquid | 21 +- .../JJSV/training_events.html.liquid | 1 + CustomerNotes/G2.md | 9 +- CustomerNotes/JJSV.md | 4 + CustomerNotes/Kiwi.md | 2 +- CustomerNotes/Mizuno.md | 10 +- CustomerNotes/SPSCommerce.md | 2 +- CustomerNotes/Skuid.md | 2 +- CustomerNotes/Wildhealth.md | 18 +- SKO.md | 64 ++++++ .../PDFs/2022 Tax Filing FAQs_02.02.2023.pdf | Bin 0 -> 339322 bytes .../PDFs/Branch Wallet FAQs_02.02.2023.pdf | Bin 0 -> 302172 bytes ...ous How Trip Earnings Work?_02.02.2023.pdf | Bin 0 -> 166789 bytes ...Store or Customer Location?_02.02.2023.pdf | Bin 0 -> 79164 bytes .../Need to Cancel a Trip?_02.02.2023.pdf | Bin 0 -> 323253 bytes ...eceiving App Notifications?_02.02.2023.pdf | Bin 0 -> 87606 bytes ...he Spark Driver™ Platform_02.02.2023.pdf | Bin 0 -> 59650 bytes ...Adding Your Vehicle Details_02.02.2023.pdf | Bin 0 -> 128429 bytes ... Customer During a Delivery_02.02.2023.pdf | Bin 0 -> 254215 bytes ...rs on Creating Your Account_02.02.2023.pdf | Bin 0 -> 122385 bytes ... Driver™ App & Signing In_02.02.2023.pdf | Bin 0 -> 91798 bytes ...ers on Reviewing Your Trips_02.02.2023.pdf | Bin 0 -> 194813 bytes ... on Setting Up Your Account_02.02.2023.pdf | Bin 0 -> 66957 bytes ...rs on Sharing Your Location_02.02.2023.pdf | Bin 0 -> 65452 bytes ...Substituting Customer Items_02.02.2023.pdf | Bin 0 -> 62198 bytes ...rs on Turning Off Spark Now_02.02.2023.pdf | Bin 0 -> 64987 bytes ...ng Your Spark Driver™ App_02.02.2023.pdf | Bin 0 -> 63001 bytes ...rs on Viewing Your Earnings_02.02.2023.pdf | Bin 0 -> 264238 bytes .../Questions About Earnings?_02.02.2023.pdf | Bin 0 -> 75709 bytes ...ed a Damaged Order or Item?_02.02.2023.pdf | Bin 0 -> 68556 bytes ...ng Error Messages & Alerts?_02.02.2023.pdf | Bin 0 -> 147577 bytes ...hopping & Delivery Overview_02.02.2023.pdf | Bin 0 -> 65710 bytes ...bstitutions Using Live Chat_02.02.2023.pdf | Bin 0 -> 71425 bytes ...Tips for Changing Your Zone_02.02.2023.pdf | Bin 0 -> 320895 bytes ...Claiming Your Branch Wallet_02.02.2023.pdf | Bin 0 -> 85410 bytes ...pleting Your First Delivery_02.02.2023.pdf | Bin 0 -> 551402 bytes .../Tips for Receiving Offers_02.02.2023.pdf | Bin 0 -> 166395 bytes ...or Resolving Sign-In Errors_02.02.2023.pdf | Bin 0 -> 68845 bytes ... & Turning On Notifications_02.02.2023.pdf | Bin 0 -> 108480 bytes ...for Troubleshooting the App_02.02.2023.pdf | Bin 0 -> 175115 bytes ...r a Smooth Checkout Process_02.02.2023.pdf | Bin 67598 -> 64622 bytes ...tomer Items Out of Sequence_02.02.2023.pdf | Bin 0 -> 71030 bytes Scripts/Walmart_Screenshots/combine_to_pdf.py | 9 +- Timetagger/_timetagger/users/norm~bm9ybQ==.db | Bin 352256 -> 352256 bytes TodoList.md | 10 +- 62 files changed, 880 insertions(+), 163 deletions(-) create mode 100644 Custom_Templates/customer_templates/JJSV/_cards_course_horizontal.html.liquid create mode 100644 Custom_Templates/customer_templates/JJSV/_category_filter_sidebar_product_page.html.liquid create mode 100644 Custom_Templates/customer_templates/JJSV/_courses_catalog_product_education.html.liquid create mode 100644 Custom_Templates/customer_templates/JJSV/_courses_index.html.liquid create mode 100644 SKO.md create mode 100644 Scripts/Walmart_Screenshots/PDFs/2022 Tax Filing FAQs_02.02.2023.pdf create mode 100644 Scripts/Walmart_Screenshots/PDFs/Branch Wallet FAQs_02.02.2023.pdf create mode 100644 Scripts/Walmart_Screenshots/PDFs/Curious How Trip Earnings Work?_02.02.2023.pdf create mode 100644 Scripts/Walmart_Screenshots/PDFs/Having Issues Confirming Your Arrival at the Store or Customer Location?_02.02.2023.pdf create mode 100644 Scripts/Walmart_Screenshots/PDFs/Need to Cancel a Trip?_02.02.2023.pdf create mode 100644 Scripts/Walmart_Screenshots/PDFs/Not Receiving App Notifications?_02.02.2023.pdf create mode 100644 Scripts/Walmart_Screenshots/PDFs/Onboarding to the Spark Driver™ Platform_02.02.2023.pdf create mode 100644 Scripts/Walmart_Screenshots/PDFs/Pointers on Adding Your Vehicle Details_02.02.2023.pdf create mode 100644 Scripts/Walmart_Screenshots/PDFs/Pointers on Contacting a Customer During a Delivery_02.02.2023.pdf create mode 100644 Scripts/Walmart_Screenshots/PDFs/Pointers on Creating Your Account_02.02.2023.pdf create mode 100644 Scripts/Walmart_Screenshots/PDFs/Pointers on Downloading the Spark Driver™ App & Signing In_02.02.2023.pdf create mode 100644 Scripts/Walmart_Screenshots/PDFs/Pointers on Reviewing Your Trips_02.02.2023.pdf create mode 100644 Scripts/Walmart_Screenshots/PDFs/Pointers on Setting Up Your Account_02.02.2023.pdf create mode 100644 Scripts/Walmart_Screenshots/PDFs/Pointers on Sharing Your Location_02.02.2023.pdf create mode 100644 Scripts/Walmart_Screenshots/PDFs/Pointers on Substituting Customer Items_02.02.2023.pdf create mode 100644 Scripts/Walmart_Screenshots/PDFs/Pointers on Turning Off Spark Now_02.02.2023.pdf create mode 100644 Scripts/Walmart_Screenshots/PDFs/Pointers on Updating Your Spark Driver™ App_02.02.2023.pdf create mode 100644 Scripts/Walmart_Screenshots/PDFs/Pointers on Viewing Your Earnings_02.02.2023.pdf create mode 100644 Scripts/Walmart_Screenshots/PDFs/Questions About Earnings?_02.02.2023.pdf create mode 100644 Scripts/Walmart_Screenshots/PDFs/Received a Damaged Order or Item?_02.02.2023.pdf create mode 100644 Scripts/Walmart_Screenshots/PDFs/Receiving Error Messages & Alerts?_02.02.2023.pdf create mode 100644 Scripts/Walmart_Screenshots/PDFs/Shopping & Delivery Overview_02.02.2023.pdf create mode 100644 Scripts/Walmart_Screenshots/PDFs/Tips for Accepting & Rejecting Substitutions Using Live Chat_02.02.2023.pdf create mode 100644 Scripts/Walmart_Screenshots/PDFs/Tips for Changing Your Zone_02.02.2023.pdf create mode 100644 Scripts/Walmart_Screenshots/PDFs/Tips for Claiming Your Branch Wallet_02.02.2023.pdf create mode 100644 Scripts/Walmart_Screenshots/PDFs/Tips for Completing Your First Delivery_02.02.2023.pdf create mode 100644 Scripts/Walmart_Screenshots/PDFs/Tips for Receiving Offers_02.02.2023.pdf create mode 100644 Scripts/Walmart_Screenshots/PDFs/Tips for Resolving Sign-In Errors_02.02.2023.pdf create mode 100644 Scripts/Walmart_Screenshots/PDFs/Tips for Setting Your Password & Turning On Notifications_02.02.2023.pdf create mode 100644 Scripts/Walmart_Screenshots/PDFs/Tips for Troubleshooting the App_02.02.2023.pdf create mode 100644 Scripts/Walmart_Screenshots/PDFs/Ways to Pick Customer Items Out of Sequence_02.02.2023.pdf diff --git a/Custom_Templates/customer_templates/JJSV/_cards_catalog.html.liquid b/Custom_Templates/customer_templates/JJSV/_cards_catalog.html.liquid index b8928f65..c63feb0e 100644 --- a/Custom_Templates/customer_templates/JJSV/_cards_catalog.html.liquid +++ b/Custom_Templates/customer_templates/JJSV/_cards_catalog.html.liquid @@ -1,8 +1,15 @@ +{% assign content_expired = false %} +{% assign now = "now" | date: "%m/%d/%Y" %} + +{% if now >= course.properties.content_expiration %} + {% assign content_expired = true %} +{% endif %} + {% assign categories = '' | split: '' %} {% for cat in course.categories %} {% if cat.name contains "~" %} {% assign cat_name = cat.name | remove: "~" %} - {% assign cat_name = cat_name | split: "]" %} + {% assign cat_name = cat_name | split: "]" %} {% assign str_parts_size = cat_name | size %} {% assign cat_name = cat_name | slice: 1, 2 %} {% else %} @@ -12,8 +19,15 @@ {% assign categories = categories | concat: cat_name %} {% endfor %} -
+{% unless content_expired %} +{% capture course_path %}{% route course, id: course.id %}{% endcapture %} +
+ {% if course.ribbon %} +
+ {{ course.ribbon }} +
+ {% endif %} {{ course.name }} {{ course.full_description }}
- + {% comment %} {% for course_category in course.categories %}
{{course_category.name}}
{% endfor %} {% endcomment %} @@ -42,17 +56,23 @@ {% else %} Not viewed {% endif %} - +
{% unless course.properties.course_length contains 'NULL' %} - {{course.properties.course_length}} + | {{course.properties.course_length}} {% endunless %}
{% capture course_path %}{% route course, id: course.id %}{% endcapture %} - {% t shared.view %} + {% if course.started? == false %} + Start + {% elsif course.progress > 0 and course.progress < 100 %} + {% t shared.continue %} + {% elsif course.completed? %} + Resume + {% endif %} {% if course.has_to_restart? %} {% include "course_version_outdated_popup", path: course_path %} @@ -60,30 +80,22 @@ +{% endunless %} diff --git a/Custom_Templates/customer_templates/JJSV/_cards_course.html.liquid b/Custom_Templates/customer_templates/JJSV/_cards_course.html.liquid index a6905032..3d489b4c 100644 --- a/Custom_Templates/customer_templates/JJSV/_cards_course.html.liquid +++ b/Custom_Templates/customer_templates/JJSV/_cards_course.html.liquid @@ -1,17 +1,32 @@ -
+{% assign content_expired = false %} +{% assign now = "now" | date: "%m/%d/%Y" %} + +{% if now >= course.properties.content_expiration %} + {% assign content_expired = true %} +{% endif %} + +{% unless content_expired %} +
-
+ {% if course.ribbon %} +
+ {{ course.ribbon }}
- {{ course.name }} -
+ {% endif %} +
+ {{ course.name }} +
-
+
+{% endunless %} diff --git a/Custom_Templates/customer_templates/JJSV/_category_filter_sidebar.html.liquid b/Custom_Templates/customer_templates/JJSV/_category_filter_sidebar.html.liquid index 6bf1f8ee..9706cd69 100644 --- a/Custom_Templates/customer_templates/JJSV/_category_filter_sidebar.html.liquid +++ b/Custom_Templates/customer_templates/JJSV/_category_filter_sidebar.html.liquid @@ -4,12 +4,12 @@ {% for course in catalog_courses %} {% for cat in course.categories %} - {% assign cat_name = cat.name | split: '!@#$%^&*()' %} - {% if cat.name contains "~" %} - {% assign second_level_course_categories = second_level_course_categories | concat: cat_name %} - {% else %} - {% assign top_level_course_categories = top_level_course_categories | concat: cat_name %} - {% endif %} + {% assign cat_name = cat.name | split: '!@#$%^&*()' %} + {% if cat.name contains "~" %} + {% assign second_level_course_categories = second_level_course_categories | concat: cat_name %} + {% else %} + {% assign top_level_course_categories = top_level_course_categories | concat: cat_name %} + {% endif %} {% endfor %} {% endfor %} @@ -118,12 +118,4 @@ } } - - - \ No newline at end of file + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/JJSV/_category_filter_sidebar_product_page.html.liquid b/Custom_Templates/customer_templates/JJSV/_category_filter_sidebar_product_page.html.liquid new file mode 100644 index 00000000..1e2ad414 --- /dev/null +++ b/Custom_Templates/customer_templates/JJSV/_category_filter_sidebar_product_page.html.liquid @@ -0,0 +1,120 @@ +{% assign product_education_course_categories = '' | split: '' %} + +{% assign top_level_course_categories = '' | split: '' %} +{% assign second_level_course_categories = '' | split: '' %} + +{% for course in catalog_courses %} + + {% for cat in course.categories %} + {% assign cat_name = cat.name | split: '!@#$%^&*()' %} + {% if cat.name contains "~[Product Education]" %} + {% assign product_education_course_categories = product_education_course_categories | concat: cat_name %} + {% endif %} + + {% comment %} {% if cat.name contains "Product Education" %} + + {% assign cat_name = cat.name | split: '!@#$%^&*()' %} + + {% if cat.name contains "~[Product Education]" %} + {% assign second_level_course_categories = product_education_course_categories | concat: cat_name %} + {% else %} + {% assign top_level_course_categories = top_level_course_categories | concat: cat_name %} + {% endif %} + {% endif %} {% endcomment %} + {% endfor %} +{% endfor %} + +{% assign unique_product_education_course_categories = product_education_course_categories | uniq | sort %} + +{% assign unique_top_level_course_categories = top_level_course_categories | uniq | sort %} +{% assign unique_second_level_course_categories = second_level_course_categories | uniq | sort %} + +
+
+
+ TOPICS +
+
+ All +
+ + {% for cat in unique_product_education_course_categories %} +
+
{{cat | remove: "~[Product Education] " }}
+
+ {% endfor %} +
+
+ + +{% comment %} + {% endcomment %} \ No newline at end of file diff --git a/Custom_Templates/customer_templates/JJSV/_course_desktop_view.html.liquid b/Custom_Templates/customer_templates/JJSV/_course_desktop_view.html.liquid index 68cf3909..3b1f0b4b 100644 --- a/Custom_Templates/customer_templates/JJSV/_course_desktop_view.html.liquid +++ b/Custom_Templates/customer_templates/JJSV/_course_desktop_view.html.liquid @@ -29,32 +29,4 @@ {% include "course_outline" %} - - - \ No newline at end of file + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/JJSV/_courses_catalog.html.liquid b/Custom_Templates/customer_templates/JJSV/_courses_catalog.html.liquid index b43f109c..6cf8a0fa 100644 --- a/Custom_Templates/customer_templates/JJSV/_courses_catalog.html.liquid +++ b/Custom_Templates/customer_templates/JJSV/_courses_catalog.html.liquid @@ -1,9 +1,18 @@ {% if courses.in_catalog.any? %}
{% for course in courses.in_catalog %} -
- {% include "cards_catalog" %} -
+ + {% assign is_product_education_course = false %} + + {% for cat in course.categories %} + {% if cat.name contains "Product Education" %} + {% assign is_product_education_course = true %} + {% endif %} + {% endfor %} + +
+ {% include "cards_catalog" %} +
{% endfor %}
{% else %} diff --git a/Custom_Templates/customer_templates/JJSV/_courses_catalog_product_education.html.liquid b/Custom_Templates/customer_templates/JJSV/_courses_catalog_product_education.html.liquid new file mode 100644 index 00000000..c22a0034 --- /dev/null +++ b/Custom_Templates/customer_templates/JJSV/_courses_catalog_product_education.html.liquid @@ -0,0 +1,22 @@ +{% if courses.in_catalog.any? %} +
+ {% for course in courses.in_catalog %} + + {% assign is_product_education_course = false %} + + {% for cat in course.categories %} + {% if cat.name contains "Product Education" %} + {% assign is_product_education_course = true %} + {% endif %} + {% endfor %} + + {% if is_product_education_course %} +
+ {% include "cards_catalog" %} +
+ {% endif %} + {% endfor %} +
+{% else %} + {% include "catalog_zero_state" %} +{% endif %} diff --git a/Custom_Templates/customer_templates/JJSV/_courses_index.html.liquid b/Custom_Templates/customer_templates/JJSV/_courses_index.html.liquid new file mode 100644 index 00000000..cb36f731 --- /dev/null +++ b/Custom_Templates/customer_templates/JJSV/_courses_index.html.liquid @@ -0,0 +1,16 @@ +{% if courses.enrolled.any? %} +
+ {% for course in courses.enrolled %} +
+ {% include "cards_course_horizontal" 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/JJSV/_footer.html.liquid b/Custom_Templates/customer_templates/JJSV/_footer.html.liquid index 8324b96f..2f12ce83 100644 --- a/Custom_Templates/customer_templates/JJSV/_footer.html.liquid +++ b/Custom_Templates/customer_templates/JJSV/_footer.html.liquid @@ -1,9 +1,10 @@ - +