From 1fa8c139e81ef8ac3e03089e5177fadc77e5455b Mon Sep 17 00:00:00 2001 From: Norm Rasmussen Date: Wed, 21 Aug 2024 12:11:42 -0400 Subject: [PATCH] Cin7 templates - missed something in the cataloggit status Anthology bulk knowledgestate fix. --- .../_course_desktop_view.html.liquid | 2 +- .../_courses_catalog.html.liquid | 2 - .../Cin7 Customers/_footer.html.liquid | 14 -- .../Cin7 Customers/_header.html.liquid | 16 +- .../Cin7 Customers/styles.css.liquid | 2 +- .../Walmart Luminate Canada/_head.html.liquid | 10 +- .../Walmart Luminate Mexico/_head.html.liquid | 5 +- Scripts/API_Tests/antho-knowledgestate-fix.py | 80 +-------- ...nowledgestate_removegroups_enrollgroups.py | 8 +- .../bulk_removegroups_enrollgroups.py | 165 ------------------ Todos.md | 9 +- 11 files changed, 23 insertions(+), 290 deletions(-) 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 c397c9e3..c7cb39e5 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 @@ -15,7 +15,7 @@ {% endcomment %} {% if log_out %} - + {% endif %}
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 d69956ac..e21cf20a 100644 --- a/Custom_Templates/customer_templates/Cin7 Customers/_courses_catalog.html.liquid +++ b/Custom_Templates/customer_templates/Cin7 Customers/_courses_catalog.html.liquid @@ -1,11 +1,9 @@ {% if courses.in_catalog.any? %}
{% for course in courses.in_catalog %} - {% if current_person.signed_in? %}
{% include "cards_course" with course %}
- {% endif %} {% endfor %}
{% else %} diff --git a/Custom_Templates/customer_templates/Cin7 Customers/_footer.html.liquid b/Custom_Templates/customer_templates/Cin7 Customers/_footer.html.liquid index 08467e9d..3c3f2064 100644 --- a/Custom_Templates/customer_templates/Cin7 Customers/_footer.html.liquid +++ b/Custom_Templates/customer_templates/Cin7 Customers/_footer.html.liquid @@ -1,21 +1,7 @@ -{% 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 %}