diff --git a/Custom_Templates/customer_templates/.DS_Store b/Custom_Templates/customer_templates/.DS_Store index d0c6025d..b458d049 100644 Binary files a/Custom_Templates/customer_templates/.DS_Store and b/Custom_Templates/customer_templates/.DS_Store differ diff --git a/Custom_Templates/customer_templates/BigIdeas-New-Sandbox/_footer.html.liquid b/Custom_Templates/customer_templates/BigIdeas-New-Sandbox/_footer.html.liquid new file mode 100644 index 00000000..8ac2d101 --- /dev/null +++ b/Custom_Templates/customer_templates/BigIdeas-New-Sandbox/_footer.html.liquid @@ -0,0 +1,81 @@ + + diff --git a/Custom_Templates/customer_templates/BigIdeas-New-Sandbox/_head.html.liquid b/Custom_Templates/customer_templates/BigIdeas-New-Sandbox/_head.html.liquid new file mode 100644 index 00000000..a5e086ff --- /dev/null +++ b/Custom_Templates/customer_templates/BigIdeas-New-Sandbox/_head.html.liquid @@ -0,0 +1,4 @@ +{% styles default %} +{% styles colors %} +{% styles custom %} + diff --git a/Custom_Templates/customer_templates/BigIdeas-New-Sandbox/homepage.html.liquid b/Custom_Templates/customer_templates/BigIdeas-New-Sandbox/homepage.html.liquid new file mode 100644 index 00000000..f279740a --- /dev/null +++ b/Custom_Templates/customer_templates/BigIdeas-New-Sandbox/homepage.html.liquid @@ -0,0 +1,56 @@ +{% include "header" %} +{% include "course_version_outdated_alert", courses: courses.featured %} +
+
+ {{ homepage.headline }} +
+
+ {{ homepage.headline }} +
+
+ {{ homepage.subheadline }} +
+ + {% t .discover %} + +
+
+ {% include "sub_navigation" %} + +
+{% include "footer" %} + + diff --git a/Custom_Templates/customer_templates/Mizuno Golf/_sign-up-follow-up-dropdown.html.liquid b/Custom_Templates/customer_templates/Mizuno Golf/_sign-up-follow-up-dropdown.html.liquid index c43c0a77..1d015f1e 100644 --- a/Custom_Templates/customer_templates/Mizuno Golf/_sign-up-follow-up-dropdown.html.liquid +++ b/Custom_Templates/customer_templates/Mizuno Golf/_sign-up-follow-up-dropdown.html.liquid @@ -15,9 +15,7 @@ - - @@ -39,4 +37,7 @@ + + + diff --git a/Custom_Templates/customer_templates/Mizuno Golf/sign-up-follow-up-dropdown.html.liquid b/Custom_Templates/customer_templates/Mizuno Golf/sign-up-follow-up-dropdown.html.liquid index 936dddb0..70e4b942 100644 --- a/Custom_Templates/customer_templates/Mizuno Golf/sign-up-follow-up-dropdown.html.liquid +++ b/Custom_Templates/customer_templates/Mizuno Golf/sign-up-follow-up-dropdown.html.liquid @@ -14,9 +14,7 @@ - - @@ -39,4 +37,7 @@ + + + diff --git a/Custom_Templates/customer_templates/Walmart Spark Prod/_cards_course.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Prod/_cards_course.html.liquid new file mode 100644 index 00000000..fd607507 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Prod/_cards_course.html.liquid @@ -0,0 +1,39 @@ +{% capture course_label %}{% endcapture %} +{% capture course_data_label %}none{% endcapture %} +{% assign course_is_new = false %} +{% assign created_at_date_seconds = current_person.created_at | date: "%s" %} +{% assign course_published_date_seconds = course.properties.initial_publish_date | date: "%s" %} +{% if course_published_date_seconds > created_at_date_seconds %}{% assign course_is_new = true %}{% endif %} +{% if course_is_new %} + {% if course.progress == 0 %} + {% capture course_label %}
New
{% endcapture %} + {% capture course_data_label %}new{% endcapture %} + {% endif %} +{% endif %} +{% if course.progress > 0 and course.progress < 100 %} + {% capture course_label %}
In progress
{% endcapture %} + {% capture course_data_label %}in-progress{% endcapture %} +{% elsif course.completed? %} + {% capture course_label %}
Viewed
{% endcapture %} + {% capture course_data_label %}viewed{% endcapture %} +{% endif %} + + +
+ {{ course.name }} +
+ + +
+ {% if course.properties.course_length != 'NULL' %} +
{{ course.properties.course_length }}
+ {% endif %} + {{course_label}} +
+
+
+
\ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Spark Prod/_cards_course_condensed.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Prod/_cards_course_condensed.html.liquid new file mode 100644 index 00000000..b543f337 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Prod/_cards_course_condensed.html.liquid @@ -0,0 +1,42 @@ +{% capture course_path %}{% route course, id: course.id %}{% endcapture %} +{% capture course_label %}{% endcapture %}{% capture course_data_label %}none{% endcapture %} + +{% assign is_new = false %} +{% assign created_at_date_seconds = current_person.created_at | date: "%s" %} +{% assign course_published_date_seconds = course.properties.initial_publish_date | date: "%s" %} + +{% if course_published_date_seconds > created_at_date_seconds %} + {% assign is_new = true %} +{% endif %} + +{% if is_new %} + {% if course.progress == 0 %} + {% capture course_label %}
New
{% endcapture %} + {% capture course_data_label %}new{% endcapture %} + {% endif %} +{% endif %} + +{% if course.progress > 0 and course.progress < 100 %} + {% capture course_label %}
In progress
{% endcapture %} + {% capture course_data_label %}in-progress{% endcapture %} +{% elsif course.completed? %} + {% capture course_label %}
Viewed
{% endcapture %} + {% capture course_data_label %}viewed{% endcapture %} +{% endif %} + + +
+
+
{{ course.name }}
+
+ {{ course.full_description }} +
+
+ {% if course.properties.course_length != 'NULL' %} +
{{ course.properties.course_length }}
+ {% endif %} +
{{course_label}}
+
+
+
+
\ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Spark Prod/_category_cards.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Prod/_category_cards.html.liquid new file mode 100644 index 00000000..205ce8d4 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Prod/_category_cards.html.liquid @@ -0,0 +1,55 @@ +{% if courses.enrolled.any? %}{% comment %} GETTING STARTED {% endcomment %}{% for school_category in school_categories %} {% if school_category == "Getting Started" %}
Getting Started Category Icon
New
{{school_category}}
{% include "filtered_courses_tray", category_name: school_category %}{% endif %}{% endfor %}{% comment %} EARNINGS {% endcomment %}{% for school_category in school_categories %}{% if school_category == "Earnings" %}
Earnings Category Icon
New
{{school_category}}
{% include "filtered_courses_tray", category_name: school_category %}{% endif %}{% endfor %}{% comment %} SHOPPING & DELIVERY {% endcomment %}{% for school_category in school_categories %}{% if school_category == "Shopping & Delivery" %}
Shopping & Delivery Category Icon
New
{{school_category}}
{% include "filtered_courses_tray", category_name: school_category %}{% endif %}{% endfor %}{% comment %} DELIVERY {% endcomment %}{% for school_category in school_categories %}{% if school_category == "Delivery" %}
Delivery Category Icon
New
{{school_category}}
{% include "filtered_courses_tray", category_name: school_category %}{% endif %}{% endfor %}{% comment %} USING THE APP {% endcomment %}{% for school_category in school_categories %}{% if school_category == "Using the App" %}
Using the App Category Icon
New
{{school_category}}
{% include "filtered_courses_tray", category_name: school_category %}{% endif %}{% endfor %}{% comment %} CONTACTING CUSTOMERS {% endcomment %}{% for school_category in school_categories %}{% if school_category == "Contacting Customers" %}
Contacting Customers Category Icon
New
{{school_category}}
{% include "filtered_courses_tray", category_name: school_category %}{% endif %}{% endfor %} + + {% comment %} NON SPECIFIED {% endcomment %} + {% for school_category in school_categories %} + {% unless school_category == "Getting Started" or school_category == "Earnings" or school_category == "Shopping & Delivery" or school_category == "Delivery" or school_category == "Using the App" or school_category == "Contacting Customers" %} + {% if school_category == "Resource Bundles" %} + {% if features.learning_paths? and learning_paths.enrolled.any? %} +
+
+
+ Category Icon +
+
+
Resource Bundles
+
+
+ +
+ {% include "filtered_learning_paths_tray", category_name: "Resource Bundles" %} + {% endif %} + {% else %} +
+
+
+ {% if school_category == "Arrival & Pick Up" %} + Category Icon + {% elsif school_category == "Drop Off & Returns" %} + Category Icon + {% elsif school_category == "Troubleshooting" %} + Category Icon + {% elsif school_category == "Trust & Safety" %} + Category Icon + {% elsif school_category == "Offer Acceptance" %} + Category Icon + {% elsif school_category == "Returns" %} + Category Icon + {% else %} + Category Icon + {% endif %} +
+
+
+
New
+
+
{{school_category}}
+
+
+ +
+ {% include "filtered_courses_tray", category_name: school_category %} + {% endif %} + {% endunless %} + {% endfor %} + +{% endif %} \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Spark Prod/_course_activity_unlocked.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Prod/_course_activity_unlocked.html.liquid new file mode 100644 index 00000000..92db0be0 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Prod/_course_activity_unlocked.html.liquid @@ -0,0 +1 @@ +{{ activity.title }} \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Spark Prod/_course_outline.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Prod/_course_outline.html.liquid new file mode 100644 index 00000000..144da4a7 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Prod/_course_outline.html.liquid @@ -0,0 +1 @@ +
Contents
    {% assign activity_count = 0 %}{% assign num_of_sections = course.sections | size %}{% assign num_of_activities_in_first_section = course.sections.first.activities | size %}{% for section in course.sections %}
  1. {% if num_of_activities_in_first_section > 1 or num_of_sections > 1 %}
    {{ section.name }}
    {% endif %}
      {% for activity in section.activities %}{% assign activity_count = activity_count | plus: 1 %}
    1. {% if activity.completed? %}{% if activity.locked? %}{{ activity.title }}{% else %}{% include "course_activity_unlocked", class: "np-course-outline-content-activity-link-completed" %}{% endif %}
      {% else %}
      {{ activity_count }}
      {% if activity.locked? %} {{ activity.title }}{% else %}{% include "course_activity_unlocked", class: "np-course-outline-content-activity-link" %}{% endif %}
      {% endif %}
    2. {% endfor %}
  2. {% endfor %}
\ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Spark Prod/_filtered_courses_tray.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Prod/_filtered_courses_tray.html.liquid new file mode 100644 index 00000000..d541d032 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Prod/_filtered_courses_tray.html.liquid @@ -0,0 +1 @@ +
{{category_name}}
{% if current_person.signed_in? %}{% endif %}
{% assign enrolled_courses_by_progress = enrolled_courses | sort: "name" %}{% for course in enrolled_courses_by_progress %}{% for course_category in course.categories %}{% if school_category == course_category.name %}{% include "cards_course_condensed" with course %}{% endif %}{% endfor %}{% endfor %}
\ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Spark Prod/_mobile_header.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Prod/_mobile_header.html.liquid new file mode 100644 index 00000000..0d60cc9c --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Prod/_mobile_header.html.liquid @@ -0,0 +1,4 @@ +
+ +
{{title}}
+
\ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Spark Prod/_search_result.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Prod/_search_result.html.liquid new file mode 100644 index 00000000..033f186c --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Prod/_search_result.html.liquid @@ -0,0 +1,18 @@ +{% if result.type == "course" %} + {% unless result.item.id == "2a025042-0d2e-42d8-a6b1-08b3e07d1412" %} +
+
+ +
+
+
+ {{ result.name }} +
+
+
{{ result.item.full_description }}
+
+
+
+
+ {% endunless %} +{% endif %} diff --git a/Custom_Templates/customer_templates/Walmart Spark Prod/course.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Prod/course.html.liquid new file mode 100644 index 00000000..272af09a --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Prod/course.html.liquid @@ -0,0 +1,94 @@ +{% if course.properties.skip_course_outline_page %} + +{% else %} + {% assign back_button_url = "/app/courses" %} + {% for category in course.categories %} + {% assign cat_name = category.name | replace: " ", "-" | downcase %} + {% assign back_button_url = '/app/courses#' | append: cat_name %} + {% endfor %} + +
+ + + +
{{ course.name }}
+
+ +
+
+
+
+ {{ course.name }} +
+
{{ course.name }}
+
{{ course.full_description }}
+
+ {% if course.properties.course_length != 'NULL' %} +
{{ course.properties.course_length }}
+ {% endif %} +
+
+
+
+
+ {% include "course_outline" %} +
+
+ {% if course.learner_can_retake? %} +
+ {% form_authenticity_token %} + +
+ {% else %} + + {% if course.progress > 0 and course.progress < 100 %} + Resume + {% elsif course.completed? %} + Review + {% else %} + Start + {% endif %} + + {% endif %} +
+
+
+{% endif %} + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Spark Prod/courses.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Prod/courses.html.liquid new file mode 100644 index 00000000..c9ab298e --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Prod/courses.html.liquid @@ -0,0 +1,108 @@ +{% assign available_school_categories = '' | split: '' %} +{% assign enrolled_courses = courses.enrolled %} +{% for course in enrolled_courses %} + {% for cat in course.categories %} + {% assign cat_name = cat.name | split: '!@#$%^&*()' %} + {% assign available_school_categories = available_school_categories | concat: cat_name %} + {% endfor %} +{% endfor %} +{% assign enrolled_learning_paths = learning_paths.enrolled %} +{% for learning_path in enrolled_learning_paths %} + {% for lp_cat in learning_path.categories %} + {% assign lp_cat_name = lp_cat.name | split: '!@#$%^&*()' %} + {% assign available_school_categories = available_school_categories | concat: lp_cat_name %} + {% endfor %} +{% endfor %} +{% assign unique_school_categories = available_school_categories | uniq | sort %} + +{% assign resource_bundles_to_display = "" %} +{% if features.learning_paths? %} + {% if enrolled_learning_paths.any? %} + {% if current_person.properties.access_level == "EXPERIENCED" %} + {% assign resource_bundles_to_display = current_school.properties.featured_resource_bundles_experienced | downcase %} + {% elsif current_person.properties.access_level == "BEGINNER" %} + {% assign resource_bundles_to_display = current_school.properties.featured_resource_bundles_beginner | downcase %} + {% endif %} + {% endif %} +{% endif %} +{% assign resource_bundles_to_display_array = resource_bundles_to_display | split: "," %} + +{% capture icon %} + fa-arrow-left{% endcapture %} +{% include "mobile_header", title: "Resource Center", back_icon: icon, back_link: "javascript:sendMessage();" %} +{% include "sub_navigation" %} +
+ {% if current_person.signed_in? %} + + {% endif %} + {% if current_person.properties.show_welcome_message %} +
Questions? We can help! Check out these optional resources to get the most out of the Spark Driver™ app.
+ {% endif %} + {% if courses.enrolled.any? %} + + {% endif %} +
+ +
+ {% include "category_cards", school_categories: unique_school_categories %} +
+
+
+ + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Spark Prod/dashboard.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Prod/dashboard.html.liquid new file mode 100644 index 00000000..9f5bfecd --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Prod/dashboard.html.liquid @@ -0,0 +1,3 @@ + diff --git a/Custom_Templates/customer_templates/Walmart Spark Prod/learning_path.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Prod/learning_path.html.liquid index 711abdc0..041179eb 100644 --- a/Custom_Templates/customer_templates/Walmart Spark Prod/learning_path.html.liquid +++ b/Custom_Templates/customer_templates/Walmart Spark Prod/learning_path.html.liquid @@ -1,7 +1,6 @@
{% learning_path_next_step_button learning_path, class: "lp-button np-top-button np-button-font-color np-button np-button-big" %}
-{% include "sub_navigation" %} + + + +{% if current_school.id == staging_school_id %} + {% comment %} {% endcomment %} + {% include "js_scripts" %} +{% elsif current_school.id == production_sandbox_school_id %} + + {% comment %} {% include "js_scripts" %} {% endcomment %} +{% elsif current_school.id == live_school_id %} + +{% endif %} \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox/_mobile_header.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox/_mobile_header.html.liquid new file mode 100644 index 00000000..0d60cc9c --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox/_mobile_header.html.liquid @@ -0,0 +1,4 @@ +
+ +
{{title}}
+
\ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox/_search_result.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox/_search_result.html.liquid new file mode 100644 index 00000000..4c87c232 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox/_search_result.html.liquid @@ -0,0 +1,18 @@ +{% if result.type == "course" %} + {% unless result.item.id == "89e045e5-842d-4413-8f2a-e80c3de239c7" %} +
+
+ +
+
+
+ {{ result.name }} +
+
+
{{ result.item.full_description }}
+
+
+
+
+ {% endunless %} +{% endif %} diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox/_sub_navigation.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox/_sub_navigation.html.liquid new file mode 100644 index 00000000..84069320 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox/_sub_navigation.html.liquid @@ -0,0 +1,21 @@ + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox/course.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox/course.html.liquid new file mode 100644 index 00000000..ab13d445 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox/course.html.liquid @@ -0,0 +1,94 @@ +{% if course.properties.skip_course_outline_page %} + +{% else %} + {% assign back_button_url = "/app/courses" %} + {% for category in course.categories %} + {% assign cat_name = category.name | replace: " ", "-" | downcase %} + {% assign back_button_url = '/app/courses#' | append: cat_name %} + {% endfor %} + +
+ + + +
{{ course.name }}
+
+ +
+
+
+
+ {{ course.name }} +
+
{{ course.name }}
+
{{ course.full_description | strip_html }}
+
+ {% if course.properties.course_length != 'NULL' %} +
{{ course.properties.course_length }}
+ {% endif %} +
+
+
+
+
+ {% include "course_outline" %} +
+
+ {% if course.learner_can_retake? %} +
+ {% form_authenticity_token %} + +
+ {% else %} + + {% if course.progress > 0 and course.progress < 100 %} + Resume + {% elsif course.completed? %} + Review + {% else %} + Start + {% endif %} + + {% endif %} +
+
+
+{% endif %} + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox/courses.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox/courses.html.liquid new file mode 100644 index 00000000..300e03db --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox/courses.html.liquid @@ -0,0 +1,109 @@ +{% assign available_school_categories = '' | split: '' %} +{% assign enrolled_courses = courses.enrolled %} +{% for course in enrolled_courses %} + {% for cat in course.categories %} + {% assign cat_name = cat.name | split: '!@#$%^&*()' %} + {% assign available_school_categories = available_school_categories | concat: cat_name %} + {% endfor %} +{% endfor %} +{% assign enrolled_learning_paths = learning_paths.enrolled %} +{% for learning_path in enrolled_learning_paths %} + {% for lp_cat in learning_path.categories %} + {% assign lp_cat_name = lp_cat.name | split: '!@#$%^&*()' %} + {% assign available_school_categories = available_school_categories | concat: lp_cat_name %} + {% endfor %} +{% endfor %} +{% assign unique_school_categories = available_school_categories | uniq | sort %} + +{% assign resource_bundles_to_display = "" %} +{% if features.learning_paths? %} + {% if enrolled_learning_paths.any? %} + {% if current_person.properties.access_level == "EXPERIENCED" %} + {% assign resource_bundles_to_display = current_school.properties.featured_resource_bundles_experienced | downcase %} + {% elsif current_person.properties.access_level == "BEGINNER" %} + {% assign resource_bundles_to_display = current_school.properties.featured_resource_bundles_beginner | downcase %} + {% endif %} + {% endif %} +{% endif %} + +{% assign resource_bundles_to_display_array = resource_bundles_to_display | split: "," %} + +{% capture icon %} + fa-arrow-left{% endcapture %} +{% include "mobile_header", title: "Resource Center", back_icon: icon, back_link: "javascript:sendMessage();" %} +{% include "sub_navigation" %} +
+ {% if current_person.signed_in? %} + + {% endif %} + {% if current_person.properties.show_welcome_message %} +
Questions? We can help! Check out these optional resources to get the most out of the Spark Driver™ app.
+ {% endif %} + {% if courses.enrolled.any? %} + + {% endif %} +
+ +
+ {% include "category_cards", school_categories: unique_school_categories %} +
+
+
+ + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox/dashboard.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox/dashboard.html.liquid new file mode 100644 index 00000000..9f5bfecd --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox/dashboard.html.liquid @@ -0,0 +1,3 @@ + diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox/faq.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox/faq.html.liquid new file mode 100644 index 00000000..924ad91c --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox/faq.html.liquid @@ -0,0 +1,33 @@ +
+ {% include "header" %} +
+ +
+ {% capture icon %} + fa-arrow-left + {% endcapture %} + {% include "mobile_header", title: "Resource Center", back_icon: icon, back_link: "javascript:sendMessage();" %} +
+{% include "sub_navigation" %} +
+{% if current_person.signed_in? %} + +{% endif %} +
+
+ {% if courses.enrolled.any? %} + {% for course in courses.enrolled %} + {% for cat in course.categories %} + {% if cat.name == "FAQ" %} + {% include "cards_faq" %} + {% endif %} + {% endfor %} + {% endfor %} + {% endif %} +
+
+
+
+{% include "footer" %} +
\ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox/homepage.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox/homepage.html.liquid new file mode 100644 index 00000000..5192dc75 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox/homepage.html.liquid @@ -0,0 +1,4 @@ + + diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox/learning_path.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox/learning_path.html.liquid new file mode 100644 index 00000000..041179eb --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox/learning_path.html.liquid @@ -0,0 +1,119 @@ +
+ {% learning_path_next_step_button learning_path, class: "lp-button np-top-button np-button-font-color np-button np-button-big" %} +
+ + +{% capture icon %}fa-arrow-left{% endcapture %} +{% include "mobile_header", title: learning_path.name, back_icon: icon, back_link: "/app/courses#resource-bundles" %} + +{% assign courses = courses.enrolled %} +
+
+
+
+ {{ learning_path.name }} +
+
{{ learning_path.name }}
+
{{ learning_path.description | strip_html }}
+
+
{{ learning_path.items.count }} resources
+ · +
+
+
+
+
+
+
+
Contents
+ {% assign courses_index = 1 %} + {% for item in learning_path.items %} + {% assign course_desc = "" %} + {% assign course_length = "" %} + {% assign course_is_new = false %} + {% for course in courses %} + {% if course.id == item.id %} + {% assign course_desc = course.short_description %} + {% assign course_length = course.properties.course_length %} + {% assign created_at_date_seconds = current_person.created_at | date: "%s" %} + {% assign course_published_date_seconds = course.properties.initial_publish_date | date: "%s" %} + {% if course_published_date_seconds > created_at_date_seconds %}{% assign course_is_new = true %}{% endif %} + {% endif %} + {% endfor %} + {% if item.course? %} + {% if learning_path.enrolled? and item.unlocked? %} + + {% else %} +
+
+
{{courses_index}}
+
+
+
{{ item.name }}
+
{{course_desc}}
+
+
{{course_length}}
+
+
New
+
+
+
+
+
+ {% endif %} + {% endif %} + {% assign courses_index = courses_index | plus: 1 %} + {% endfor %} +
+
+
+ +
+ + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox/learning_path_summary.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox/learning_path_summary.html.liquid new file mode 100644 index 00000000..f52b3c85 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox/learning_path_summary.html.liquid @@ -0,0 +1,112 @@ +
+ {% learning_path_next_step_button learning_path, class: "lp-button np-top-button np-button-font-color np-button np-button-big" %} +
+ + +{% capture icon %}fa-arrow-left{% endcapture %} +{% include "mobile_header", title: learning_path.name, back_icon: icon, back_link: "/app/courses#resource-bundles" %} + +{% assign courses = courses.enrolled %} +
+
+
+
+ {{ learning_path.name }} +
+
{{ learning_path.name }}
+
{{ learning_path.description | strip_html }}
+
+
{{ learning_path.items.count }} resources
+ · +
+
+
+
+
+
+
+
Contents
+ {% assign courses_index = 1 %} + {% for item in learning_path.items %} + {% assign course_desc = "" %} + {% assign course_length = "" %} + {% for course in courses %} + {% if course.id == item.id %} + {% assign course_desc = course.short_description %} + {% assign course_length = course.properties.course_length %} + {% endif %} + {% endfor %} + {% if item.course? %} + {% if learning_path.enrolled? and item.unlocked? %} + + {% else %} +
+
+
{{courses_index}}
+
+
+
{{ item.name }}
+
{{course_desc}}
+
+
{{course_length}}
+
+
New
+
+
+
+
+
+ {% endif %} + {% endif %} + {% assign courses_index = courses_index | plus: 1 %} + {% endfor %} +
+
+
+ +
+ + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox/progress.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox/progress.html.liquid new file mode 100644 index 00000000..2a938e16 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox/progress.html.liquid @@ -0,0 +1,60 @@ +{% capture icon %} + fa-arrow-left +{% endcapture %} +{% include "mobile_header", title: "Resource Center", back_icon: icon, back_link: "javascript:sendMessage();" %} + +{% include "sub_navigation" %} + +
+
+
+ {% if courses.enrolled.any? %} + {% assign courses_in_progress = 0 %} + {% assign enrolled_courses = courses.enrolled %} + {% assign courses_ordered_by_progress = enrolled_courses | sort: "progress" %} + {% for course in courses_ordered_by_progress %} + + {% if course.progress > 0 %} + {% assign courses_in_progress = courses_in_progress | plus: 1 %} + {% capture course_path %}{% route course, id: course.id %}{% endcapture %} + +
+
+ +
{{ course.name }}
+
+ {% if course.properties.course_length != 'NULL' %} +
+ {{ course.properties.course_length }} +
+ {% endif %} +
+ {% if course.progress > 0 and course.progress < 100 %} +
+ In progress +
+ {% elsif course.completed? %} +
+ Viewed +
+ {% endif %} +
+
+
+
+
+ {% endif %} + {% endfor %} + + {% if courses_in_progress == 0 %} +
+
+
+

You haven't viewed any resources yet.
Visit All Resources to see what's available.

+
+
+ {% endif %} + {% endif %} +
+
+
\ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox/search.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox/search.html.liquid new file mode 100644 index 00000000..c5693a3d --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox/search.html.liquid @@ -0,0 +1,55 @@ +{% assign enrolled_courses = courses.enrolled %} +{% include "mobile_header", title: "Search", back_icon: "fa-arrow-left", back_link: "javascript: goBack()" %} +{% include "sub_navigation" %} + +
+ +
+
+ {{ results.count }} + {% t .results_for %} + "{{ results.term }}" +
+
+ + {% if results.items.any? %} +
+ {% render "search_result" for results.items as result %} +
+ {% else %} +
+
+
+
+
+
No results found
+
Please try another search item.
+
+
+
+
+ {% endif %} +
+ + diff --git a/CustomerNotes/Aiim/custom_css.html b/CustomerNotes/Aiim/custom_css.html new file mode 100644 index 00000000..d2fbda8d --- /dev/null +++ b/CustomerNotes/Aiim/custom_css.html @@ -0,0 +1,131 @@ + + + + + + + + diff --git a/CustomerNotes/DataSnipper/DataSnipper.md b/CustomerNotes/DataSnipper/DataSnipper.md index bc7b5565..d6e90c59 100644 --- a/CustomerNotes/DataSnipper/DataSnipper.md +++ b/CustomerNotes/DataSnipper/DataSnipper.md @@ -254,3 +254,10 @@ Add all Hubspot properties as properties Also add "Product" property, this could be an array of items - HTML property Package always comes first. Ask Allyson about Zoom integration updates.... they aren't sure if they want to update webinars in zoom & Northpass. + +## 11/30/2023 + +### Justin and Dirk + +Justin is on Candide's team but unable to make it. +Manager permissions continue to be an issue.