diff --git a/Custom_Templates/customer_templates/.DS_Store b/Custom_Templates/customer_templates/.DS_Store index ca293dea..50890d27 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/Cin7 Customers/_courses_catalog.html.liquid b/Custom_Templates/customer_templates/Cin7 Customers/_courses_catalog.html.liquid deleted file mode 100644 index e21cf20a..00000000 --- a/Custom_Templates/customer_templates/Cin7 Customers/_courses_catalog.html.liquid +++ /dev/null @@ -1,16 +0,0 @@ -{% if courses.in_catalog.any? %} -
- {% for course in courses.in_catalog %} -
- {% include "cards_course" with course %} -
- {% endfor %} -
-{% else %} - {% capture message %} - {% t shared.zero_state.courses.catalog, - key: current_school.course_vocabulary - %} - {% endcapture %} - {% include "courses_zero_state", message: message %} -{% endif %} diff --git a/Custom_Templates/customer_templates/Cin7 Customers/_featured_courses.html.liquid b/Custom_Templates/customer_templates/Cin7 Customers/_featured_courses.html.liquid deleted file mode 100644 index 5f556e6e..00000000 --- a/Custom_Templates/customer_templates/Cin7 Customers/_featured_courses.html.liquid +++ /dev/null @@ -1,60 +0,0 @@ -{% assign log_out = true %} - -{% if current_person.signed_in? %} - {% assign log_out = false %} -{% endif %} - - - - - - diff --git a/Custom_Templates/customer_templates/Cin7 Customers/_footer.html.liquid b/Custom_Templates/customer_templates/Cin7 Customers/_footer.html.liquid deleted file mode 100644 index 3c3f2064..00000000 --- a/Custom_Templates/customer_templates/Cin7 Customers/_footer.html.liquid +++ /dev/null @@ -1,53 +0,0 @@ -{% assign log_out = true %} - -{% if current_person.signed_in? %} - {% assign log_out = false %} -{% endif %} - - diff --git a/Custom_Templates/customer_templates/Cin7 Customers/_search_result.html.liquid b/Custom_Templates/customer_templates/Cin7 Customers/_search_result.html.liquid deleted file mode 100644 index d6963a96..00000000 --- a/Custom_Templates/customer_templates/Cin7 Customers/_search_result.html.liquid +++ /dev/null @@ -1,21 +0,0 @@ -{% if result.type == 'course' %} -
-
-
- {{ result.name }} -
-
- - {{ result.name }} - -
-
{{ result.description }}
-
-
-
-
-{% endif %} diff --git a/Custom_Templates/customer_templates/Cin7 Customers/homepage.html.liquid b/Custom_Templates/customer_templates/Cin7 Customers/homepage.html.liquid deleted file mode 100644 index 6bcea882..00000000 --- a/Custom_Templates/customer_templates/Cin7 Customers/homepage.html.liquid +++ /dev/null @@ -1,45 +0,0 @@ -{% include "header" %} -{% include "course_version_outdated_alert", courses: courses.featured %} -
-
-
-
Welcome to Cin7 Academy
- {% comment %} {% elsif multiprod %} {% endcomment %} - {% comment %}
Welcome to Cin7 Academy
{% endcomment %} -
Learn to create and manage a best-in-class inventory operation for your business.
-
-
- -
-
-
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"%} -
-
Learn Omni by module and features
-
- {% include "category_carousel"%} -
-
-
-
Featured Courses: Integrations
-
- {% include 'featured_courses' %} -
-
- -
-
-
- {% include 'homepage_testimonials' %} -
-
- -
-{% include "footer" %} diff --git a/Custom_Templates/customer_templates/Cin7 Customers/_account_avatar.html.liquid b/Custom_Templates/customer_templates/Cin7 Employees/_account_avatar.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Customers/_account_avatar.html.liquid rename to Custom_Templates/customer_templates/Cin7 Employees/_account_avatar.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Customers/_account_desktop_view.html.liquid b/Custom_Templates/customer_templates/Cin7 Employees/_account_desktop_view.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Customers/_account_desktop_view.html.liquid rename to Custom_Templates/customer_templates/Cin7 Employees/_account_desktop_view.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Internal Academy/_account_form.html.liquid b/Custom_Templates/customer_templates/Cin7 Employees/_account_form.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Internal Academy/_account_form.html.liquid rename to Custom_Templates/customer_templates/Cin7 Employees/_account_form.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Customers/_account_mobile_view.html.liquid b/Custom_Templates/customer_templates/Cin7 Employees/_account_mobile_view.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Customers/_account_mobile_view.html.liquid rename to Custom_Templates/customer_templates/Cin7 Employees/_account_mobile_view.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Internal Academy/_badges_cards.html.liquid b/Custom_Templates/customer_templates/Cin7 Employees/_badges_cards.html.liquid similarity index 95% rename from Custom_Templates/customer_templates/Cin7 Internal Academy/_badges_cards.html.liquid rename to Custom_Templates/customer_templates/Cin7 Employees/_badges_cards.html.liquid index e267a1be..5c021f90 100644 --- a/Custom_Templates/customer_templates/Cin7 Internal Academy/_badges_cards.html.liquid +++ b/Custom_Templates/customer_templates/Cin7 Employees/_badges_cards.html.liquid @@ -9,7 +9,7 @@ {% if course.name contains 'Omni' %} src="https://s3.amazonaws.com/static.northpass.com/Cin7/badges/academy-badge_omni.png" {% elsif course.name contains 'Core' %} - src="https://s3.amazonaws.com/static.northpass.com/Cin7/badges/academy-badge_core.png" + src="https://s3.amazonaws.com/static.northpass.com/Cin7/badges/academy-badge_core.png" {% endif %} class="badge-card-image" /> diff --git a/Custom_Templates/customer_templates/Cin7 Internal Academy/_cards_course.html.liquid b/Custom_Templates/customer_templates/Cin7 Employees/_cards_course.html.liquid similarity index 69% rename from Custom_Templates/customer_templates/Cin7 Internal Academy/_cards_course.html.liquid rename to Custom_Templates/customer_templates/Cin7 Employees/_cards_course.html.liquid index 1206c2a7..f1d7cea2 100644 --- a/Custom_Templates/customer_templates/Cin7 Internal Academy/_cards_course.html.liquid +++ b/Custom_Templates/customer_templates/Cin7 Employees/_cards_course.html.liquid @@ -20,17 +20,25 @@

{{ course.name }}

- +
{{ course.short_description }}
{% if course.properties.course_duration %} -
- - {{course.properties.course_duration}} min -
+ +
+
+ + {{course.properties.course_duration}} min +
+ + +
+ + + {% endif %} diff --git a/Custom_Templates/customer_templates/Cin7 Internal Academy/_cards_learning_path.html.liquid b/Custom_Templates/customer_templates/Cin7 Employees/_cards_learning_path.html.liquid similarity index 87% rename from Custom_Templates/customer_templates/Cin7 Internal Academy/_cards_learning_path.html.liquid rename to Custom_Templates/customer_templates/Cin7 Employees/_cards_learning_path.html.liquid index a289295f..2a3ebd7e 100644 --- a/Custom_Templates/customer_templates/Cin7 Internal Academy/_cards_learning_path.html.liquid +++ b/Custom_Templates/customer_templates/Cin7 Employees/_cards_learning_path.html.liquid @@ -1,11 +1,13 @@ -
+
- {{ learning_path.name }} +
+ {{ learning_path.name }} +
diff --git a/Custom_Templates/customer_templates/Cin7 Internal Academy/_cards_learning_path_homepage.html.liquid b/Custom_Templates/customer_templates/Cin7 Employees/_cards_learning_path_homepage.html.liquid similarity index 50% rename from Custom_Templates/customer_templates/Cin7 Internal Academy/_cards_learning_path_homepage.html.liquid rename to Custom_Templates/customer_templates/Cin7 Employees/_cards_learning_path_homepage.html.liquid index a29384a4..174c3a33 100644 --- a/Custom_Templates/customer_templates/Cin7 Internal Academy/_cards_learning_path_homepage.html.liquid +++ b/Custom_Templates/customer_templates/Cin7 Employees/_cards_learning_path_homepage.html.liquid @@ -6,7 +6,15 @@ class="learning-path-card-image" src="{{ learning_path.image_url }}" /> +
+ {% if learning_path.name contains "Omni" %} + Omni + {% elsif learning_path.name contains "Core" %} + Core + {% endif %}
+
+
LEARNING PATH

{{ learning_path.name }} diff --git a/Custom_Templates/customer_templates/Cin7 Customers/_cards_training_event.html.liquid b/Custom_Templates/customer_templates/Cin7 Employees/_cards_training_event.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Customers/_cards_training_event.html.liquid rename to Custom_Templates/customer_templates/Cin7 Employees/_cards_training_event.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Internal Academy/_category_cards.html.liquid b/Custom_Templates/customer_templates/Cin7 Employees/_category_cards.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Internal Academy/_category_cards.html.liquid rename to Custom_Templates/customer_templates/Cin7 Employees/_category_cards.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Employees/_category_cards_core.html.liquid b/Custom_Templates/customer_templates/Cin7 Employees/_category_cards_core.html.liquid new file mode 100644 index 00000000..0328d9e9 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Employees/_category_cards_core.html.liquid @@ -0,0 +1,29 @@ + + +
+
+ +
+
+ {% if category.name == 'Warehouse Operations: Core' %} +

Inventory Logistics Deep Dives

+ {% else %} +

{{category.name | replace: ": Core", " Deep Dives"}}

+ {% endif %} +
Level up your expertise and enhance your operations with {{category.name | replace: ": Core", " Deep Dives"}}.
+
+
+
+ diff --git a/Custom_Templates/customer_templates/Cin7 Customers/_category_carousel.html.liquid b/Custom_Templates/customer_templates/Cin7 Employees/_category_carousel.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Customers/_category_carousel.html.liquid rename to Custom_Templates/customer_templates/Cin7 Employees/_category_carousel.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Employees/_category_carousel_core.html.liquid b/Custom_Templates/customer_templates/Cin7 Employees/_category_carousel_core.html.liquid new file mode 100644 index 00000000..18a1f61c --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Employees/_category_carousel_core.html.liquid @@ -0,0 +1,64 @@ +{% assign unique_category = "" %} +{% assign category_images = 'https://s3.amazonaws.com/static.northpass.com/Cin7/categories+images+core+/Accounting+Deep+Dives+-+Thumbnails.png, https://s3.amazonaws.com/static.northpass.com/Cin7/categories+images+core+/Administrative+Deep+Dives+-+Thumbnail.png, https://s3.amazonaws.com/static.northpass.com/Cin7/categories+images+core+/Product+Management+Deep+Dives+-+Thumbnail.png, https://s3.amazonaws.com/static.northpass.com/Cin7/categories+images+core+/Simple+Manufacturing+Deep+Dives+-+Thumbnail.png, https://s3.amazonaws.com/static.northpass.com/Cin7/categories+images+core+/Warehouse+Operations+Deep+Dives+-+Thumbnail.png' | split: ', ' %} +{% assign category_counter = 0 %} +{% assign core_categories = 'Warehouse Operations: Core, Admin: Core, Product Management: Core, Accounting: Core, Simple Manufacturing: Core' | split: ", " %} + + + + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Cin7 Customers/_certificates_info_column.html.liquid b/Custom_Templates/customer_templates/Cin7 Employees/_certificates_info_column.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Customers/_certificates_info_column.html.liquid rename to Custom_Templates/customer_templates/Cin7 Employees/_certificates_info_column.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Customers/_certificates_metadata.html.liquid b/Custom_Templates/customer_templates/Cin7 Employees/_certificates_metadata.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Customers/_certificates_metadata.html.liquid rename to Custom_Templates/customer_templates/Cin7 Employees/_certificates_metadata.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Customers/_certificates_preview.html.liquid b/Custom_Templates/customer_templates/Cin7 Employees/_certificates_preview.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Customers/_certificates_preview.html.liquid rename to Custom_Templates/customer_templates/Cin7 Employees/_certificates_preview.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Customers/_certificates_top_bar.html.liquid b/Custom_Templates/customer_templates/Cin7 Employees/_certificates_top_bar.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Customers/_certificates_top_bar.html.liquid rename to Custom_Templates/customer_templates/Cin7 Employees/_certificates_top_bar.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Customers/_certificates_verification.html.liquid b/Custom_Templates/customer_templates/Cin7 Employees/_certificates_verification.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Customers/_certificates_verification.html.liquid rename to Custom_Templates/customer_templates/Cin7 Employees/_certificates_verification.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Customers/_course_activity_locked.html.liquid b/Custom_Templates/customer_templates/Cin7 Employees/_course_activity_locked.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Customers/_course_activity_locked.html.liquid rename to Custom_Templates/customer_templates/Cin7 Employees/_course_activity_locked.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Customers/_course_activity_unlocked.html.liquid b/Custom_Templates/customer_templates/Cin7 Employees/_course_activity_unlocked.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Customers/_course_activity_unlocked.html.liquid rename to Custom_Templates/customer_templates/Cin7 Employees/_course_activity_unlocked.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Customers/_course_categories.html.liquid b/Custom_Templates/customer_templates/Cin7 Employees/_course_categories.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Customers/_course_categories.html.liquid rename to Custom_Templates/customer_templates/Cin7 Employees/_course_categories.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Customers/_course_description.html.liquid b/Custom_Templates/customer_templates/Cin7 Employees/_course_description.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Customers/_course_description.html.liquid rename to Custom_Templates/customer_templates/Cin7 Employees/_course_description.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Internal Academy/_course_desktop_view.html.liquid b/Custom_Templates/customer_templates/Cin7 Employees/_course_desktop_view.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Internal Academy/_course_desktop_view.html.liquid rename to Custom_Templates/customer_templates/Cin7 Employees/_course_desktop_view.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Customers/_course_events.html.liquid b/Custom_Templates/customer_templates/Cin7 Employees/_course_events.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Customers/_course_events.html.liquid rename to Custom_Templates/customer_templates/Cin7 Employees/_course_events.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Customers/_course_header.html.liquid b/Custom_Templates/customer_templates/Cin7 Employees/_course_header.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Customers/_course_header.html.liquid rename to Custom_Templates/customer_templates/Cin7 Employees/_course_header.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Customers/_course_instructors.html.liquid b/Custom_Templates/customer_templates/Cin7 Employees/_course_instructors.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Customers/_course_instructors.html.liquid rename to Custom_Templates/customer_templates/Cin7 Employees/_course_instructors.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Customers/_course_mobile_view.html.liquid b/Custom_Templates/customer_templates/Cin7 Employees/_course_mobile_view.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Customers/_course_mobile_view.html.liquid rename to Custom_Templates/customer_templates/Cin7 Employees/_course_mobile_view.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Customers/_course_outline.html.liquid b/Custom_Templates/customer_templates/Cin7 Employees/_course_outline.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Customers/_course_outline.html.liquid rename to Custom_Templates/customer_templates/Cin7 Employees/_course_outline.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Internal Academy/_course_progress_and_cta.html.liquid b/Custom_Templates/customer_templates/Cin7 Employees/_course_progress_and_cta.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Internal Academy/_course_progress_and_cta.html.liquid rename to Custom_Templates/customer_templates/Cin7 Employees/_course_progress_and_cta.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Customers/_course_version_outdated_alert.html.liquid b/Custom_Templates/customer_templates/Cin7 Employees/_course_version_outdated_alert.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Customers/_course_version_outdated_alert.html.liquid rename to Custom_Templates/customer_templates/Cin7 Employees/_course_version_outdated_alert.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Customers/_course_version_outdated_popup.html.liquid b/Custom_Templates/customer_templates/Cin7 Employees/_course_version_outdated_popup.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Customers/_course_version_outdated_popup.html.liquid rename to Custom_Templates/customer_templates/Cin7 Employees/_course_version_outdated_popup.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Internal Academy/_courses_catalog.html.liquid b/Custom_Templates/customer_templates/Cin7 Employees/_courses_catalog.html.liquid similarity index 95% rename from Custom_Templates/customer_templates/Cin7 Internal Academy/_courses_catalog.html.liquid rename to Custom_Templates/customer_templates/Cin7 Employees/_courses_catalog.html.liquid index bf455c16..c1815e73 100644 --- a/Custom_Templates/customer_templates/Cin7 Internal Academy/_courses_catalog.html.liquid +++ b/Custom_Templates/customer_templates/Cin7 Employees/_courses_catalog.html.liquid @@ -1,5 +1,5 @@ {% if courses.in_catalog.any? %} -
+
{% for course in courses.in_catalog %}
{% include "cards_course" with course %} diff --git a/Custom_Templates/customer_templates/Cin7 Customers/_courses_index.html.liquid b/Custom_Templates/customer_templates/Cin7 Employees/_courses_index.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Customers/_courses_index.html.liquid rename to Custom_Templates/customer_templates/Cin7 Employees/_courses_index.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Customers/_courses_zero_state.html.liquid b/Custom_Templates/customer_templates/Cin7 Employees/_courses_zero_state.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Customers/_courses_zero_state.html.liquid rename to Custom_Templates/customer_templates/Cin7 Employees/_courses_zero_state.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Internal Academy/_featured_courses.html.liquid b/Custom_Templates/customer_templates/Cin7 Employees/_featured_courses.html.liquid similarity index 94% rename from Custom_Templates/customer_templates/Cin7 Internal Academy/_featured_courses.html.liquid rename to Custom_Templates/customer_templates/Cin7 Employees/_featured_courses.html.liquid index 71384292..22ae9a9c 100644 --- a/Custom_Templates/customer_templates/Cin7 Internal Academy/_featured_courses.html.liquid +++ b/Custom_Templates/customer_templates/Cin7 Employees/_featured_courses.html.liquid @@ -15,7 +15,7 @@ $('.feature-courses-carousel').slick({ infinite: true, slidesToShow: 4, - slidesToScroll: 5, + slidesToScroll: 4, prevArrow: "", nextArrow: "", responsive: [ @@ -49,7 +49,7 @@ padding: 1rem 0; height: auto; } - .my-courses-carousel { + .feature-courses-carousel { margin: 0 1rem; } \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Cin7 Customers/_filter_checkbox.html.liquid b/Custom_Templates/customer_templates/Cin7 Employees/_filter_checkbox.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Customers/_filter_checkbox.html.liquid rename to Custom_Templates/customer_templates/Cin7 Employees/_filter_checkbox.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Customers/_filter_dropdown.html.liquid b/Custom_Templates/customer_templates/Cin7 Employees/_filter_dropdown.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Customers/_filter_dropdown.html.liquid rename to Custom_Templates/customer_templates/Cin7 Employees/_filter_dropdown.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Customers/_filter_select.html.liquid b/Custom_Templates/customer_templates/Cin7 Employees/_filter_select.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Customers/_filter_select.html.liquid rename to Custom_Templates/customer_templates/Cin7 Employees/_filter_select.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Internal Academy/_filters_catalog.html.liquid b/Custom_Templates/customer_templates/Cin7 Employees/_filters_catalog.html.liquid similarity index 97% rename from Custom_Templates/customer_templates/Cin7 Internal Academy/_filters_catalog.html.liquid rename to Custom_Templates/customer_templates/Cin7 Employees/_filters_catalog.html.liquid index a7f1942f..ee0086e3 100644 --- a/Custom_Templates/customer_templates/Cin7 Internal Academy/_filters_catalog.html.liquid +++ b/Custom_Templates/customer_templates/Cin7 Employees/_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 @@
-
+

+ + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Cin7 Internal Academy/login.html.liquid b/Custom_Templates/customer_templates/Cin7 Employees/login.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Internal Academy/login.html.liquid rename to Custom_Templates/customer_templates/Cin7 Employees/login.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Customers/master.html.liquid b/Custom_Templates/customer_templates/Cin7 Employees/master.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Customers/master.html.liquid rename to Custom_Templates/customer_templates/Cin7 Employees/master.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Customers/not_found.html.liquid b/Custom_Templates/customer_templates/Cin7 Employees/not_found.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Customers/not_found.html.liquid rename to Custom_Templates/customer_templates/Cin7 Employees/not_found.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Customers/private_certificate.html.liquid b/Custom_Templates/customer_templates/Cin7 Employees/private_certificate.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Customers/private_certificate.html.liquid rename to Custom_Templates/customer_templates/Cin7 Employees/private_certificate.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Customers/public_certificate.html.liquid b/Custom_Templates/customer_templates/Cin7 Employees/public_certificate.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Customers/public_certificate.html.liquid rename to Custom_Templates/customer_templates/Cin7 Employees/public_certificate.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Internal Academy/reset_password.html.liquid b/Custom_Templates/customer_templates/Cin7 Employees/reset_password.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Internal Academy/reset_password.html.liquid rename to Custom_Templates/customer_templates/Cin7 Employees/reset_password.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Internal Academy/search.html.liquid b/Custom_Templates/customer_templates/Cin7 Employees/search.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Internal Academy/search.html.liquid rename to Custom_Templates/customer_templates/Cin7 Employees/search.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Internal Academy/sign_up.html.liquid b/Custom_Templates/customer_templates/Cin7 Employees/sign_up.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Internal Academy/sign_up.html.liquid rename to Custom_Templates/customer_templates/Cin7 Employees/sign_up.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Internal Academy/styles.css.liquid b/Custom_Templates/customer_templates/Cin7 Employees/styles.css.liquid similarity index 91% rename from Custom_Templates/customer_templates/Cin7 Internal Academy/styles.css.liquid rename to Custom_Templates/customer_templates/Cin7 Employees/styles.css.liquid index 078c553a..bb1ab86d 100644 --- a/Custom_Templates/customer_templates/Cin7 Internal Academy/styles.css.liquid +++ b/Custom_Templates/customer_templates/Cin7 Employees/styles.css.liquid @@ -34,6 +34,11 @@ body { .note-desc { font-size: 1vw } +.np-optional-ribbon { + background: #05CBBF; + color: #fff; + +} .hero-text { font-size: 3.5rem; font-weight: 400; @@ -100,6 +105,9 @@ body { } .lp-link { text-decoration: none; + display: flex; + flex-direction: column; + height: 100%; } .slick-track { margin-left: 0 !important; @@ -143,7 +151,7 @@ body { font-size: 0.85rem; font-weight: 600; padding: 5px 12.5px; - background: #05CBBF; + background: none; } .lp-progress-text { @@ -303,11 +311,17 @@ body { .np-learning-path-image { border-bottom-left-radius: 20px; border-top-left-radius: 20px; + width: 100% !important; + height: 100%; } .card-content { background: #fff; border-radius: 0 0 25px 25px; padding: 1.5rem; + display: flex; + flex-direction: column; + justify-content: space-between; + height: -webkit-fill-available; } .catalog-btn { background: #002f6f; @@ -508,9 +522,36 @@ body { } .recommended { - font-weight: 600; - color: #002f6f; + color: #000000b5; +} +.course-details { + display: flex; + justify-content: space-between; + align-items: center; + margin-top: 15px; + gap: 10px +} +.card-type +{ + color: #000000b5; + text-align: end; + margin-bottom: 10px; font-size: 0.85rem; + font-weight: 600; + opacity: 0.75; + margin-top: 20px; + margin-right: 20px; +} +.card-category-image-core { + width: 100%; + border-radius: 20px 20px 0 0; +} +.card-category-core { + background: none; + padding: 0; +} +.card:hover { + transform: translateY(-0.125rem); } @media only screen and (max-width: 768px) { @@ -539,4 +580,17 @@ body { .events-container { justify-content: center; } -} \ No newline at end of file +} + +.core-category-wrapper { + display: flex; + flex-direction: column; + height: 100%; +} +.course-desc-category-core { + margin-top: 15px; + color: #002f6f; + height: 100%; + display: flex; + align-items: end; +} diff --git a/Custom_Templates/customer_templates/Cin7 Customers/training_events.html.liquid b/Custom_Templates/customer_templates/Cin7 Employees/training_events.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Customers/training_events.html.liquid rename to Custom_Templates/customer_templates/Cin7 Employees/training_events.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Customers/training_session.html.liquid b/Custom_Templates/customer_templates/Cin7 Employees/training_session.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Customers/training_session.html.liquid rename to Custom_Templates/customer_templates/Cin7 Employees/training_session.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Customers/training_session_attendance.html.liquid b/Custom_Templates/customer_templates/Cin7 Employees/training_session_attendance.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Customers/training_session_attendance.html.liquid rename to Custom_Templates/customer_templates/Cin7 Employees/training_session_attendance.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Customers/unsubscribe.html.liquid b/Custom_Templates/customer_templates/Cin7 Employees/unsubscribe.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Customers/unsubscribe.html.liquid rename to Custom_Templates/customer_templates/Cin7 Employees/unsubscribe.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Internal Academy/_account_avatar.html.liquid b/Custom_Templates/customer_templates/Cin7 External/_account_avatar.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Internal Academy/_account_avatar.html.liquid rename to Custom_Templates/customer_templates/Cin7 External/_account_avatar.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Internal Academy/_account_desktop_view.html.liquid b/Custom_Templates/customer_templates/Cin7 External/_account_desktop_view.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Internal Academy/_account_desktop_view.html.liquid rename to Custom_Templates/customer_templates/Cin7 External/_account_desktop_view.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Customers/_account_form.html.liquid b/Custom_Templates/customer_templates/Cin7 External/_account_form.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Customers/_account_form.html.liquid rename to Custom_Templates/customer_templates/Cin7 External/_account_form.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Internal Academy/_account_mobile_view.html.liquid b/Custom_Templates/customer_templates/Cin7 External/_account_mobile_view.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Internal Academy/_account_mobile_view.html.liquid rename to Custom_Templates/customer_templates/Cin7 External/_account_mobile_view.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Customers/_badges_cards.html.liquid b/Custom_Templates/customer_templates/Cin7 External/_badges_cards.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Customers/_badges_cards.html.liquid rename to Custom_Templates/customer_templates/Cin7 External/_badges_cards.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Customers/_cards_course.html.liquid b/Custom_Templates/customer_templates/Cin7 External/_cards_course.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Customers/_cards_course.html.liquid rename to Custom_Templates/customer_templates/Cin7 External/_cards_course.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Customers/_cards_learning_path.html.liquid b/Custom_Templates/customer_templates/Cin7 External/_cards_learning_path.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Customers/_cards_learning_path.html.liquid rename to Custom_Templates/customer_templates/Cin7 External/_cards_learning_path.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Customers/_cards_learning_path_homepage.html.liquid b/Custom_Templates/customer_templates/Cin7 External/_cards_learning_path_homepage.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Customers/_cards_learning_path_homepage.html.liquid rename to Custom_Templates/customer_templates/Cin7 External/_cards_learning_path_homepage.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Internal Academy/_cards_training_event.html.liquid b/Custom_Templates/customer_templates/Cin7 External/_cards_training_event.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Internal Academy/_cards_training_event.html.liquid rename to Custom_Templates/customer_templates/Cin7 External/_cards_training_event.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Customers/_category_cards.html.liquid b/Custom_Templates/customer_templates/Cin7 External/_category_cards.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Customers/_category_cards.html.liquid rename to Custom_Templates/customer_templates/Cin7 External/_category_cards.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Customers/_category_cards_core.html.liquid b/Custom_Templates/customer_templates/Cin7 External/_category_cards_core.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Customers/_category_cards_core.html.liquid rename to Custom_Templates/customer_templates/Cin7 External/_category_cards_core.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Internal Academy/_category_carousel.html.liquid b/Custom_Templates/customer_templates/Cin7 External/_category_carousel.html.liquid similarity index 97% rename from Custom_Templates/customer_templates/Cin7 Internal Academy/_category_carousel.html.liquid rename to Custom_Templates/customer_templates/Cin7 External/_category_carousel.html.liquid index ec7cc6f0..cc7f9cee 100644 --- a/Custom_Templates/customer_templates/Cin7 Internal Academy/_category_carousel.html.liquid +++ b/Custom_Templates/customer_templates/Cin7 External/_category_carousel.html.liquid @@ -24,7 +24,7 @@ $('.category-carousel').slick({ infinite: true, slidesToShow: 4, - slidesToScroll: 5, + slidesToScroll: 4, prevArrow: "", nextArrow: "", responsive: [ @@ -58,7 +58,7 @@ padding: 1rem 0; height: auto; } - .my-courses-carousel { + .category-carousel { margin: 0 1rem; } \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Cin7 Customers/_category_carousel_core.html.liquid b/Custom_Templates/customer_templates/Cin7 External/_category_carousel_core.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Customers/_category_carousel_core.html.liquid rename to Custom_Templates/customer_templates/Cin7 External/_category_carousel_core.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Internal Academy/_certificates_info_column.html.liquid b/Custom_Templates/customer_templates/Cin7 External/_certificates_info_column.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Internal Academy/_certificates_info_column.html.liquid rename to Custom_Templates/customer_templates/Cin7 External/_certificates_info_column.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Internal Academy/_certificates_metadata.html.liquid b/Custom_Templates/customer_templates/Cin7 External/_certificates_metadata.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Internal Academy/_certificates_metadata.html.liquid rename to Custom_Templates/customer_templates/Cin7 External/_certificates_metadata.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Internal Academy/_certificates_preview.html.liquid b/Custom_Templates/customer_templates/Cin7 External/_certificates_preview.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Internal Academy/_certificates_preview.html.liquid rename to Custom_Templates/customer_templates/Cin7 External/_certificates_preview.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Internal Academy/_certificates_top_bar.html.liquid b/Custom_Templates/customer_templates/Cin7 External/_certificates_top_bar.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Internal Academy/_certificates_top_bar.html.liquid rename to Custom_Templates/customer_templates/Cin7 External/_certificates_top_bar.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Internal Academy/_certificates_verification.html.liquid b/Custom_Templates/customer_templates/Cin7 External/_certificates_verification.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Internal Academy/_certificates_verification.html.liquid rename to Custom_Templates/customer_templates/Cin7 External/_certificates_verification.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Internal Academy/_course_activity_locked.html.liquid b/Custom_Templates/customer_templates/Cin7 External/_course_activity_locked.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Internal Academy/_course_activity_locked.html.liquid rename to Custom_Templates/customer_templates/Cin7 External/_course_activity_locked.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Internal Academy/_course_activity_unlocked.html.liquid b/Custom_Templates/customer_templates/Cin7 External/_course_activity_unlocked.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Internal Academy/_course_activity_unlocked.html.liquid rename to Custom_Templates/customer_templates/Cin7 External/_course_activity_unlocked.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Internal Academy/_course_categories.html.liquid b/Custom_Templates/customer_templates/Cin7 External/_course_categories.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Internal Academy/_course_categories.html.liquid rename to Custom_Templates/customer_templates/Cin7 External/_course_categories.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Internal Academy/_course_description.html.liquid b/Custom_Templates/customer_templates/Cin7 External/_course_description.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Internal Academy/_course_description.html.liquid rename to Custom_Templates/customer_templates/Cin7 External/_course_description.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Customers/_course_desktop_view.html.liquid b/Custom_Templates/customer_templates/Cin7 External/_course_desktop_view.html.liquid similarity index 71% rename from Custom_Templates/customer_templates/Cin7 Customers/_course_desktop_view.html.liquid rename to Custom_Templates/customer_templates/Cin7 External/_course_desktop_view.html.liquid index c7cb39e5..aa39066e 100644 --- a/Custom_Templates/customer_templates/Cin7 Customers/_course_desktop_view.html.liquid +++ b/Custom_Templates/customer_templates/Cin7 External/_course_desktop_view.html.liquid @@ -1,10 +1,28 @@ -{% assign log_out = true %} +{% assign omni = false %} +{% assign core = false %} +{% assign partners = false %} +{% assign redirect = false %} +{% assign both_gorups = 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 omni and core %} + {% assign both_gorups = true %} {% endif %} -{%comment%} {% unless partners or both_gorups %} {% if core and course.name contains 'Omni' %} {% assign redirect = true %} @@ -12,10 +30,9 @@ {% assign redirect = true %} {% endif %} {% endunless %} -{% endcomment %} -{% if log_out %} - +{% if redirect %} + {% endif %}
diff --git a/Custom_Templates/customer_templates/Cin7 Internal Academy/_course_events.html.liquid b/Custom_Templates/customer_templates/Cin7 External/_course_events.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Internal Academy/_course_events.html.liquid rename to Custom_Templates/customer_templates/Cin7 External/_course_events.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Internal Academy/_course_header.html.liquid b/Custom_Templates/customer_templates/Cin7 External/_course_header.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Internal Academy/_course_header.html.liquid rename to Custom_Templates/customer_templates/Cin7 External/_course_header.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Internal Academy/_course_instructors.html.liquid b/Custom_Templates/customer_templates/Cin7 External/_course_instructors.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Internal Academy/_course_instructors.html.liquid rename to Custom_Templates/customer_templates/Cin7 External/_course_instructors.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Internal Academy/_course_mobile_view.html.liquid b/Custom_Templates/customer_templates/Cin7 External/_course_mobile_view.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Internal Academy/_course_mobile_view.html.liquid rename to Custom_Templates/customer_templates/Cin7 External/_course_mobile_view.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Internal Academy/_course_outline.html.liquid b/Custom_Templates/customer_templates/Cin7 External/_course_outline.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Internal Academy/_course_outline.html.liquid rename to Custom_Templates/customer_templates/Cin7 External/_course_outline.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Customers/_course_progress_and_cta.html.liquid b/Custom_Templates/customer_templates/Cin7 External/_course_progress_and_cta.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Customers/_course_progress_and_cta.html.liquid rename to Custom_Templates/customer_templates/Cin7 External/_course_progress_and_cta.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Internal Academy/_course_version_outdated_alert.html.liquid b/Custom_Templates/customer_templates/Cin7 External/_course_version_outdated_alert.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Internal Academy/_course_version_outdated_alert.html.liquid rename to Custom_Templates/customer_templates/Cin7 External/_course_version_outdated_alert.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Internal Academy/_course_version_outdated_popup.html.liquid b/Custom_Templates/customer_templates/Cin7 External/_course_version_outdated_popup.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Internal Academy/_course_version_outdated_popup.html.liquid rename to Custom_Templates/customer_templates/Cin7 External/_course_version_outdated_popup.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 External/_courses_catalog.html.liquid b/Custom_Templates/customer_templates/Cin7 External/_courses_catalog.html.liquid new file mode 100644 index 00000000..49acf7a1 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 External/_courses_catalog.html.liquid @@ -0,0 +1,43 @@ +{% if courses.in_catalog.any? %} +
+ {% for course in courses.in_catalog %} + {% if current_person.signed_in? %} + + {% if partners or both_gorups %} +
+ {% 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 %} + {% else %} +
+ {% include "cards_course" with course %} +
+ {% endif %} + {% endfor %} +
+{% else %} + {% capture message %} + {% t shared.zero_state.courses.catalog, + key: current_school.course_vocabulary + %} + {% endcapture %} + {% include "courses_zero_state", message: message %} +{% endif %} diff --git a/Custom_Templates/customer_templates/Cin7 Internal Academy/_courses_index.html.liquid b/Custom_Templates/customer_templates/Cin7 External/_courses_index.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Internal Academy/_courses_index.html.liquid rename to Custom_Templates/customer_templates/Cin7 External/_courses_index.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Internal Academy/_courses_zero_state.html.liquid b/Custom_Templates/customer_templates/Cin7 External/_courses_zero_state.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Internal Academy/_courses_zero_state.html.liquid rename to Custom_Templates/customer_templates/Cin7 External/_courses_zero_state.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 External/_featured_courses.html.liquid b/Custom_Templates/customer_templates/Cin7 External/_featured_courses.html.liquid new file mode 100644 index 00000000..0f18622e --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 External/_featured_courses.html.liquid @@ -0,0 +1,106 @@ +{% assign omni = false %} +{% assign core = false %} +{% assign partners = false %} +{% assign log_out = true %} +{% assign both_gorups = 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 omni and core %} + {% assign both_gorups = true %} +{% endif %} + + + + + + diff --git a/Custom_Templates/customer_templates/Cin7 Internal Academy/_filter_checkbox.html.liquid b/Custom_Templates/customer_templates/Cin7 External/_filter_checkbox.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Internal Academy/_filter_checkbox.html.liquid rename to Custom_Templates/customer_templates/Cin7 External/_filter_checkbox.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Internal Academy/_filter_dropdown.html.liquid b/Custom_Templates/customer_templates/Cin7 External/_filter_dropdown.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Internal Academy/_filter_dropdown.html.liquid rename to Custom_Templates/customer_templates/Cin7 External/_filter_dropdown.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Internal Academy/_filter_select.html.liquid b/Custom_Templates/customer_templates/Cin7 External/_filter_select.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Internal Academy/_filter_select.html.liquid rename to Custom_Templates/customer_templates/Cin7 External/_filter_select.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Customers/_filters_catalog.html.liquid b/Custom_Templates/customer_templates/Cin7 External/_filters_catalog.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Customers/_filters_catalog.html.liquid rename to Custom_Templates/customer_templates/Cin7 External/_filters_catalog.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 External/_footer.html.liquid b/Custom_Templates/customer_templates/Cin7 External/_footer.html.liquid new file mode 100644 index 00000000..d207f156 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 External/_footer.html.liquid @@ -0,0 +1,89 @@ +{% 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 '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 Internal Academy/_head.html.liquid b/Custom_Templates/customer_templates/Cin7 External/_head.html.liquid similarity index 86% rename from Custom_Templates/customer_templates/Cin7 Internal Academy/_head.html.liquid rename to Custom_Templates/customer_templates/Cin7 External/_head.html.liquid index 8f87ebf2..bda0734b 100644 --- a/Custom_Templates/customer_templates/Cin7 Internal Academy/_head.html.liquid +++ b/Custom_Templates/customer_templates/Cin7 External/_head.html.liquid @@ -28,8 +28,14 @@ courseElement.textContent = modifiedCourseName; }); } + function removeBadgeShadow() { + document.querySelectorAll('.card-badge').forEach(e=>{ + e.parentElement.parentElement.style.boxShadow='none'; + }) + } modifyCourseNames(); + removeBadgeShadow(); }); \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Cin7 Customers/_header.html.liquid b/Custom_Templates/customer_templates/Cin7 External/_header.html.liquid similarity index 95% rename from Custom_Templates/customer_templates/Cin7 Customers/_header.html.liquid rename to Custom_Templates/customer_templates/Cin7 External/_header.html.liquid index 92898690..b845e48b 100644 --- a/Custom_Templates/customer_templates/Cin7 Customers/_header.html.liquid +++ b/Custom_Templates/customer_templates/Cin7 External/_header.html.liquid @@ -1,7 +1,21 @@ +{% 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 '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 %}
@@ -229,7 +243,6 @@ } -{%- comment -%} -{%- endcomment -%} diff --git a/Custom_Templates/customer_templates/Cin7 Internal Academy/_header_minimal.html.liquid b/Custom_Templates/customer_templates/Cin7 External/_header_minimal.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Cin7 Internal Academy/_header_minimal.html.liquid rename to Custom_Templates/customer_templates/Cin7 External/_header_minimal.html.liquid diff --git a/Custom_Templates/customer_templates/Cin7 Internal Academy/_homepage_testimonials.html.liquid b/Custom_Templates/customer_templates/Cin7 External/_homepage_testimonials.html.liquid similarity index 83% rename from Custom_Templates/customer_templates/Cin7 Internal Academy/_homepage_testimonials.html.liquid rename to Custom_Templates/customer_templates/Cin7 External/_homepage_testimonials.html.liquid index d42d3271..c2e4e046 100644 --- a/Custom_Templates/customer_templates/Cin7 Internal Academy/_homepage_testimonials.html.liquid +++ b/Custom_Templates/customer_templates/Cin7 External/_homepage_testimonials.html.liquid @@ -1,50 +1,23 @@ -{% if omni %} -
Empowering education for Connected Inventory Performance
- - {% elsif core %} -
Transformative education for Connected Inventory Performence
+ {% if core or log_out or partners or both_gorups%} +
Transformative education for Connected Inventory Performance