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 @@