From fac495a7e03bdf00457bf01ec31fbe39f46e4eac Mon Sep 17 00:00:00 2001 From: Norm Rasmussen Date: Tue, 11 Jun 2024 16:19:55 -0400 Subject: [PATCH] More Luminate changes... HackerRank's subnavigation is completed. Updated Cin7 templates. --- .../_course_desktop_view.html.liquid | 15 +- .../_courses_catalog.html.liquid | 2 +- .../_featured_courses.html.liquid | 13 +- .../_homepage_testimonials.html.liquid | 57 ++-- ..._learning_path_desktop_content.html.liquid | 21 +- .../_learning_paths_index.html.liquid | 6 +- .../_original-backup_badges_cards.html.liquid | 243 ------------------ .../Cin7 Customers/_search_result.html.liquid | 22 +- .../Cin7 Customers/catalog.html.liquid | 15 +- .../Cin7 Customers/learning_paths.html.liquid | 19 +- .../Cin7 Customers/search.html.liquid | 21 +- .../_sub_navigation.html.liquid | 54 +++- .../case-studies.html.liquid | 193 ++++++++++++++ .../Sandata Learn/_header.html.liquid | 14 +- .../Sandata Learn/styles.css.liquid | 4 + .../_cards_course.html.liquid | 2 +- .../_homepage_featured.html.liquid | 8 +- .../_homepage_ongoing_training.html.liquid | 8 +- .../_learning_paths_index.html.liquid | 2 +- .../homepage.html.liquid | 2 +- .../_cards_course.html.liquid | 4 +- Scripts/API_Tests/bulk_delete.py | 38 ++- 22 files changed, 427 insertions(+), 336 deletions(-) delete mode 100644 Custom_Templates/customer_templates/Cin7 Customers/_original-backup_badges_cards.html.liquid create mode 100644 Custom_Templates/customer_templates/HackerRank External/case-studies.html.liquid 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 6902b17e..aa39066e 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 @@ -2,6 +2,7 @@ {% assign core = false %} {% assign partners = false %} {% assign redirect = false %} +{% assign both_gorups = false %} {% if current_person.signed_in? %} {% assign log_out = false %} @@ -18,15 +19,17 @@ {% endfor %} {% endif %} -{% if partners %} - {% assign redirect = false %} -{% else %} +{% if omni and core %} + {% assign both_gorups = true %} +{% endif %} + +{% unless partners or both_gorups %} {% if core and course.name contains 'Omni' %} - {% assign redirect = true %} + {% assign redirect = true %} {% elsif omni and course.name contains 'Core' %} - {% assign redirect = true %} - {% endif %} + {% assign redirect = true %} {% endif %} +{% endunless %} {% 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 b585bfc2..49acf7a1 100644 --- a/Custom_Templates/customer_templates/Cin7 Customers/_courses_catalog.html.liquid +++ b/Custom_Templates/customer_templates/Cin7 Customers/_courses_catalog.html.liquid @@ -3,7 +3,7 @@ {% for course in courses.in_catalog %} {% if current_person.signed_in? %} - {% if partners %} + {% if partners or both_gorups %}
{% include "cards_course" with course %}
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 5f9d6f7f..0f18622e 100644 --- a/Custom_Templates/customer_templates/Cin7 Customers/_featured_courses.html.liquid +++ b/Custom_Templates/customer_templates/Cin7 Customers/_featured_courses.html.liquid @@ -2,6 +2,7 @@ {% assign core = false %} {% assign partners = false %} {% assign log_out = true %} +{% assign both_gorups = false %} {% if current_person.signed_in? %} {% assign log_out = false %} @@ -18,11 +19,21 @@ {% endfor %} {% endif %} +{% if omni and core %} + {% assign both_gorups = true %} +{% endif %}