diff --git a/Custom_Templates/.DS_Store b/Custom_Templates/.DS_Store index 31b2e1a5..8b8bb826 100644 Binary files a/Custom_Templates/.DS_Store and b/Custom_Templates/.DS_Store differ diff --git a/Custom_Templates/customer_templates/Cin7 Customers/_course_desktop_view.html.liquid b/Custom_Templates/customer_templates/Cin7 Customers/_course_desktop_view.html.liquid index 6e30d32c..6902b17e 100644 --- a/Custom_Templates/customer_templates/Cin7 Customers/_course_desktop_view.html.liquid +++ b/Custom_Templates/customer_templates/Cin7 Customers/_course_desktop_view.html.liquid @@ -1,22 +1,32 @@ {% assign omni = false %} {% assign core = false %} +{% assign partners = false %} {% assign redirect = false %} {% if current_person.signed_in? %} + {% assign log_out = false %} {% for group in current_person.groups %} - {% if group.name contains 'Core' %} - {% assign core = true %} - {% elsif group.name contains 'Omni' %} - {% assign omni = true %} - {% endif %} + {% if group.name contains 'Partners' %} + {% assign partners = true %} + {% else %} + {% if group.name contains 'Core' %} + {% assign core = true %} + {% elsif group.name contains 'Omni' %} + {% assign omni = true %} + {% endif %} + {% endif %} {% endfor %} {% endif %} -{% if core and course.name contains 'Omni' %} - {% assign redirect = true %} -{% elsif omni and course.name contains 'Core' %} - {% assign redirect = true %} -{% endif %} +{% if partners %} + {% assign redirect = false %} +{% else %} + {% if core and course.name contains 'Omni' %} + {% assign redirect = true %} + {% elsif omni and course.name contains 'Core' %} + {% assign redirect = true %} + {% endif %} + {% endif %} {% if redirect %} diff --git a/Custom_Templates/customer_templates/Cin7 Customers/_courses_catalog.html.liquid b/Custom_Templates/customer_templates/Cin7 Customers/_courses_catalog.html.liquid index d6d3e376..e5244f85 100644 --- a/Custom_Templates/customer_templates/Cin7 Customers/_courses_catalog.html.liquid +++ b/Custom_Templates/customer_templates/Cin7 Customers/_courses_catalog.html.liquid @@ -2,29 +2,31 @@
{% for course in courses.in_catalog %} {% if current_person.signed_in? %} - {% if omni and if core %} - {% if course.name contains 'Omni' or course.name contains 'Core' %} -
- {% include "cards_course" with course %} -
- {% if omni %} - {% if course.name contains 'Omni' %} + + {% if partners %}
{% include "cards_course" with course %}
+ {% else %} + {% if omni %} + {% if course.name contains 'Omni' %} +
+ {% include "cards_course" with course %} +
+ {% endif %} + {% elsif core %} + {% if course.name contains 'Core' %} +
+ {% include "cards_course" with course %} +
+ {% endif %} + {% else %} +
+ {% include "cards_course" with course %} +
+ {% endif %} {% endif %} - {% elsif core %} - {% if course.name contains 'Core' %} -
- {% include "cards_course" with course %} -
{% endif %} - {% endif %} - {% else %} -
- {% include "cards_course" with course %} -
- {% endif %} {% endfor %}
{% else %} diff --git a/Custom_Templates/customer_templates/Cin7 Customers/_featured_courses.html.liquid b/Custom_Templates/customer_templates/Cin7 Customers/_featured_courses.html.liquid index 7dcbd8db..5f9d6f7f 100644 --- a/Custom_Templates/customer_templates/Cin7 Customers/_featured_courses.html.liquid +++ b/Custom_Templates/customer_templates/Cin7 Customers/_featured_courses.html.liquid @@ -1,15 +1,20 @@ {% assign omni = false %} {% assign core = false %} +{% assign partners = false %} {% assign log_out = true %} {% if current_person.signed_in? %} {% assign log_out = false %} {% for group in current_person.groups %} - {% if group.name contains 'Core' %} - {% assign core = true %} - {% elsif group.name contains 'Omni' %} - {% assign omni = true %} - {% endif %} + {% if group.name contains 'Partners' %} + {% assign partners = true %} + {% else %} + {% if group.name contains 'Core' %} + {% assign core = true %} + {% elsif group.name contains 'Omni' %} + {% assign omni = true %} + {% endif %} + {% endif %} {% endfor %} {% endif %} @@ -23,12 +28,18 @@ {% include 'cards_course' %} {% endif %} - {% elsif omni %} + {% elsif omni %} {% if course.properties.feature_course_omni == true %}
{% include 'cards_course' %}
{% endif %} + {% elsif partners %} + {% if course.properties.feature_course_omni == true or course.properties.feature_course_core == true %} +
+ {% include 'cards_course' %} +
+ {% endif %} {% else %} {% if course.properties.feature_course_omni == true or course.properties.feature_course_core == true %}
diff --git a/Custom_Templates/customer_templates/Cin7 Customers/_filters_catalog.html.liquid b/Custom_Templates/customer_templates/Cin7 Customers/_filters_catalog.html.liquid index d87db12a..c3d7bc92 100644 --- a/Custom_Templates/customer_templates/Cin7 Customers/_filters_catalog.html.liquid +++ b/Custom_Templates/customer_templates/Cin7 Customers/_filters_catalog.html.liquid @@ -8,11 +8,11 @@ {% for course in courses.in_catalog %} {% for category in course.categories %} {% if category.name contains 'Omni' %} - {% unless unique_omni_categories contains category.name %} + {% unless unique_omni_categories contains category.name %}
-
+
{% assign unique_omni_categories = unique_omni_categories | append: category.name %} {% endunless %} {% endif %} @@ -26,11 +26,11 @@ {% if course.name contains '[Core]' %} {% for category in course.categories %} {% if category.name contains 'Core' %} - {% unless unique_core_categories contains category.name %} + {% unless unique_core_categories contains category.name %}
-
+ {% assign unique_core_categories = unique_core_categories | append: category.name %} {% endunless %} {% endif %} @@ -38,16 +38,16 @@ {% endif %} {% endfor %} - {%elsif log_out%} + {% elsif log_out or partners %}
{% assign unique_core_categories = "" %} {% for course in courses.in_catalog %} {% for category in course.categories %} - {% unless unique_core_categories contains category.name %} + {% unless unique_core_categories contains category.name %}
-
+
{% assign unique_core_categories = unique_core_categories | append: category.name %} {% endunless %} {% endfor %} @@ -65,11 +65,11 @@
-
+
-
+
@@ -79,7 +79,7 @@
- + \ No newline at end of file + diff --git a/Custom_Templates/customer_templates/Cin7 Customers/_learning_path_desktop_content.html.liquid b/Custom_Templates/customer_templates/Cin7 Customers/_learning_path_desktop_content.html.liquid index 501e074d..4b265aa5 100644 --- a/Custom_Templates/customer_templates/Cin7 Customers/_learning_path_desktop_content.html.liquid +++ b/Custom_Templates/customer_templates/Cin7 Customers/_learning_path_desktop_content.html.liquid @@ -1,18 +1,26 @@ {% assign omni = false %} {% assign core = false %} +{% assign partners = false %} {% assign redirect = false %} {% if current_person.signed_in? %} + {% assign log_out = false %} {% for group in current_person.groups %} - {% if group.name contains 'Core' %} - {% assign core = true %} - {% elsif group.name contains 'Omni' %} - {% assign omni = true %} - {% endif %} + {% if group.name contains 'Partners' %} + {% assign partners = true %} + {% else %} + {% if group.name contains 'Core' %} + {% assign core = true %} + {% elsif group.name contains 'Omni' %} + {% assign omni = true %} + {% endif %} + {% endif %} {% endfor %} {% endif %} -{% if core and learning_path.name contains 'Omni' %} +{% if partners %} + {% assign redirect = false %} +{% elsif core and learning_path.name contains 'Omni' %} {% assign redirect = true %} {% elsif omni and learning_path.name contains 'Core' %} {% assign redirect = true %} diff --git a/Custom_Templates/customer_templates/Cin7 Customers/_learning_paths_index.html.liquid b/Custom_Templates/customer_templates/Cin7 Customers/_learning_paths_index.html.liquid index 9e25c2a7..f8da87f3 100644 --- a/Custom_Templates/customer_templates/Cin7 Customers/_learning_paths_index.html.liquid +++ b/Custom_Templates/customer_templates/Cin7 Customers/_learning_paths_index.html.liquid @@ -1,15 +1,19 @@
{% if items.any? %} {% for learning_path in items %} - {% if core %} - {% if learning_path.name contains 'Core' %} + {% if partners %} {% include "cards_learning_path" with learning_path %} - {% endif %} - {% elsif omni %} + {% else %} + {% if core %} + {% if learning_path.name contains 'Core' %} + {% include "cards_learning_path" with learning_path %} + {% endif %} + {% elsif omni %} {% if learning_path.name contains 'Omni'%} {% include "cards_learning_path" with learning_path %} {% endif %} - {% endif %} + {% endif %} + {% endif %} {% endfor %} {% else %}
diff --git a/Custom_Templates/customer_templates/Cin7 Customers/dashboard.html.liquid b/Custom_Templates/customer_templates/Cin7 Customers/dashboard.html.liquid index e7951f87..16881d66 100644 --- a/Custom_Templates/customer_templates/Cin7 Customers/dashboard.html.liquid +++ b/Custom_Templates/customer_templates/Cin7 Customers/dashboard.html.liquid @@ -1,15 +1,20 @@ {% assign omni = false %} {% assign core = false %} +{% assign partners = false %} {% assign log_out = true %} {% if current_person.signed_in? %} {% assign log_out = false %} {% for group in current_person.groups %} - {% if group.name contains 'Core' %} - {% assign core = true %} - {% elsif group.name contains 'Omni' %} - {% assign omni = true %} - {% endif %} + {% if group.name contains 'Partners' %} + {% assign partners = true %} + {% else %} + {% if group.name contains 'Core' %} + {% assign core = true %} + {% elsif group.name contains 'Omni' %} + {% assign omni = true %} + {% endif %} + {% endif %} {% endfor %} {% endif %} diff --git a/Custom_Templates/customer_templates/Cin7 Customers/homepage.html.liquid b/Custom_Templates/customer_templates/Cin7 Customers/homepage.html.liquid index 683da9e4..b7117fac 100644 --- a/Custom_Templates/customer_templates/Cin7 Customers/homepage.html.liquid +++ b/Custom_Templates/customer_templates/Cin7 Customers/homepage.html.liquid @@ -1,18 +1,20 @@ {% assign omni = false %} {% assign core = false %} -{% assign multiprod = false %} +{% assign partners = false %} {% assign log_out = true %} {% if current_person.signed_in? %} {% assign log_out = false %} {% for group in current_person.groups %} - {% if group.name contains 'Core' and if group.name contains 'Omni' %} - {% assign multiprod = true %} - {% if group.name contains 'Core' %} - {% assign core = true %} - {% elsif group.name contains 'Omni' %} - {% assign omni = true %} - {% endif %} + {% if group.name contains 'Partners' %} + {% assign partners = true %} + {% else %} + {% if group.name contains 'Core' %} + {% assign core = true %} + {% elsif group.name contains 'Omni' %} + {% assign omni = true %} + {% endif %} + {% endif %} {% endfor %} {% endif %} @@ -22,11 +24,13 @@
- {% if core %} + {% if partners %} +
Welcome to Cin7 Academy
+ {% elsif core %}
Welcome to Cin7 Core Academy
{% elsif omni %}
Welcome to Cin7 Omni Academy
- {% elsif log_out or multiprod%} + {% elsif log_out %}
Welcome to Cin7 Academy
{% comment %} {% elsif multiprod %} {% endcomment %} {% comment %}
Welcome to Cin7 Academy
{% endcomment %} @@ -39,7 +43,7 @@
- {% if core %} + {% if partners %}
Learn Cin7 Core by your function with Learning Paths
{% include 'learning_path_carousel_core' %} @@ -48,17 +52,33 @@
{% include "category_carousel_core"%}
- {% elsif omni %} +
New to Cin7 Omni? Start learning here!
+
+ {% include "category_carousel"%} +
+ + {% elsif core %} +
Learn Cin7 Core by your function with Learning Paths
+
+ {% include 'learning_path_carousel_core' %} +
+
Grow and broaden your Cin7 Core expertise with Deep Dives
+
+ {% include "category_carousel_core"%} +
+ + {% elsif omni %}
New to Cin7 Omni? Start learning here!
{% include "category_carousel"%}
- {% elsif log_out or multiprod %} + + {% elsif log_out %}
Learn Cin7 Core by your function with Learning Paths
{% 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 Customers/learning_paths.html.liquid b/Custom_Templates/customer_templates/Cin7 Customers/learning_paths.html.liquid index 046a9398..9a0a4eb1 100644 --- a/Custom_Templates/customer_templates/Cin7 Customers/learning_paths.html.liquid +++ b/Custom_Templates/customer_templates/Cin7 Customers/learning_paths.html.liquid @@ -1,15 +1,20 @@ {% assign omni = false %} {% assign core = false %} +{% assign partners = false %} {% assign log_out = true %} {% if current_person.signed_in? %} {% assign log_out = false %} {% for group in current_person.groups %} - {% if group.name contains 'Core' %} - {% assign core = true %} - {% elsif group.name contains 'Omni' %} - {% assign omni = true %} - {% endif %} + {% if group.name contains 'Partners' %} + {% assign partners = true %} + {% else %} + {% if group.name contains 'Core' %} + {% assign core = true %} + {% elsif group.name contains 'Omni' %} + {% assign omni = true %} + {% endif %} + {% endif %} {% endfor %} {% endif %} @@ -43,7 +48,7 @@ const urlParams = new URLSearchParams(window.location.search); const categoriesFromURL = urlParams.getAll('category'); if (categoriesFromURL.length === 0) { - return; + return; } const cards = document.querySelectorAll('.lp-card'); @@ -55,9 +60,9 @@ const filterCards = () => { cards.forEach(card => { if (cardMatchesCategories(card, categoriesFromURL)) { - card.style.display = 'block'; + card.style.display = 'block'; } else { - card.style.display = 'none'; + card.style.display = 'none'; } }); }; diff --git a/Custom_Templates/customer_templates/Cin7 Customers/search.html.liquid b/Custom_Templates/customer_templates/Cin7 Customers/search.html.liquid index a6a43869..41a1b52c 100644 --- a/Custom_Templates/customer_templates/Cin7 Customers/search.html.liquid +++ b/Custom_Templates/customer_templates/Cin7 Customers/search.html.liquid @@ -1,19 +1,23 @@ {% assign omni = false %} {% assign core = false %} +{% assign partners = false %} {% assign log_out = true %} {% if current_person.signed_in? %} {% assign log_out = false %} {% for group in current_person.groups %} - {% if group.name contains 'Core' %} - {% assign core = true %} - {% elsif group.name contains 'Omni' %} - {% assign omni = true %} - {% endif %} + {% if group.name contains 'Partners' %} + {% assign partners = true %} + {% else %} + {% if group.name contains 'Core' %} + {% assign core = true %} + {% elsif group.name contains 'Omni' %} + {% assign omni = true %} + {% endif %} + {% endif %} {% endfor %} {% endif %} - {% include "header" %}
diff --git a/Custom_Templates/customer_templates/Cin7 Partners/_course_desktop_view.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_course_desktop_view.html.liquid index 6e30d32c..1c2a1760 100644 --- a/Custom_Templates/customer_templates/Cin7 Partners/_course_desktop_view.html.liquid +++ b/Custom_Templates/customer_templates/Cin7 Partners/_course_desktop_view.html.liquid @@ -3,19 +3,26 @@ {% assign redirect = false %} {% if current_person.signed_in? %} + {% assign log_out = false %} {% for group in current_person.groups %} + {% if group.name contains 'Partners' %} + {% assign partners = true %} + {% else %} {% if group.name contains 'Core' %} {% assign core = true %} {% elsif group.name contains 'Omni' %} {% assign omni = true %} {% endif %} + {% endif %} {% endfor %} {% endif %} -{% if core and course.name contains 'Omni' %} +{% if partners %} + {% assign redirect = false %} +{% elsif core and course.name contains 'Omni' %} {% assign redirect = true %} {% elsif omni and course.name contains 'Core' %} - {% assign redirect = true %} + {% assign redirect = true %} {% endif %} {% if redirect %} diff --git a/Custom_Templates/customer_templates/Cin7 Partners/_learning_path_desktop_content.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_learning_path_desktop_content.html.liquid index 501e074d..54880664 100644 --- a/Custom_Templates/customer_templates/Cin7 Partners/_learning_path_desktop_content.html.liquid +++ b/Custom_Templates/customer_templates/Cin7 Partners/_learning_path_desktop_content.html.liquid @@ -4,7 +4,9 @@ {% if current_person.signed_in? %} {% for group in current_person.groups %} - {% if group.name contains 'Core' %} + {% if group.name contains 'Partners' %} + {% assign partners = true %} + {% elsif group.name contains 'Core' %} {% assign core = true %} {% elsif group.name contains 'Omni' %} {% assign omni = true %} @@ -12,7 +14,9 @@ {% endfor %} {% endif %} -{% if core and learning_path.name contains 'Omni' %} +{% if partners %} + {% assign redirect = false %} +{% elsif core and learning_path.name contains 'Omni' %} {% assign redirect = true %} {% elsif omni and learning_path.name contains 'Core' %} {% assign redirect = true %} diff --git a/Custom_Templates/customer_templates/Cin7 Partners/homepage.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/homepage.html.liquid index 96798235..b14c7cfb 100644 --- a/Custom_Templates/customer_templates/Cin7 Partners/homepage.html.liquid +++ b/Custom_Templates/customer_templates/Cin7 Partners/homepage.html.liquid @@ -5,11 +5,15 @@ {% if current_person.signed_in? %} {% assign log_out = false %} {% for group in current_person.groups %} + {% if group.name contains 'Partners' %} + {% assign partners = true %} + {% else %} {% if group.name contains 'Core' %} {% assign core = true %} {% elsif group.name contains 'Omni' %} {% assign omni = true %} {% endif %} + {% endif %} {% endfor %} {% endif %} @@ -23,7 +27,7 @@
Welcome to Cin7 Core Academy
{% elsif omni %}
Welcome to Cin7 Omni Academy
- {% elsif log_out %} + {% elsif log_out or partners %}
Welcome to Cin7 Academy
{% else %}
Welcome to Cin7 Academy
@@ -48,7 +52,7 @@
{% include "category_carousel"%}
- {% elsif log_out %} + {% elsif log_out or partners %}
Learn Cin7 Core by function with Learning Paths
{% include 'learning_path_carousel_core' %} diff --git a/Custom_Templates/customer_templates/Sandata Learn/_courses_zero_state.html.liquid b/Custom_Templates/customer_templates/Sandata Learn/_courses_zero_state.html.liquid index ce714b72..26e371f7 100644 --- a/Custom_Templates/customer_templates/Sandata Learn/_courses_zero_state.html.liquid +++ b/Custom_Templates/customer_templates/Sandata Learn/_courses_zero_state.html.liquid @@ -1,6 +1,6 @@
- New Courses Coming Soon! + {{ message }}
{{ message }}
diff --git a/Custom_Templates/customer_templates/Sandata Learn/_head.html.liquid b/Custom_Templates/customer_templates/Sandata Learn/_head.html.liquid index d8650b57..beab5b4a 100644 --- a/Custom_Templates/customer_templates/Sandata Learn/_head.html.liquid +++ b/Custom_Templates/customer_templates/Sandata Learn/_head.html.liquid @@ -1,8 +1,3 @@ {% styles default %} {% styles colors %} {% styles custom %} - - \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Sandata Learn/_header.html.liquid b/Custom_Templates/customer_templates/Sandata Learn/_header.html.liquid index 2a93e5c6..3eb8c85a 100644 --- a/Custom_Templates/customer_templates/Sandata Learn/_header.html.liquid +++ b/Custom_Templates/customer_templates/Sandata Learn/_header.html.liquid @@ -189,7 +189,7 @@
{% include "messages" %} - +{% comment %} {% if current_person.signed_in? %} {% unless current_person.email contains "+preview" %} {% unless current_person.properties.successfully_completed_secondary_registration %} @@ -200,7 +200,7 @@ {% endunless %} {% endunless %} -{% endif %} +{% endif %} {% endcomment %}