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 aa39066e..c397c9e3 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,28 +1,10 @@ -{% assign omni = false %} -{% assign core = false %} -{% assign partners = false %} -{% assign redirect = false %} -{% assign both_gorups = 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 %} - -{% 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 %} @@ -30,8 +12,9 @@ {% assign redirect = true %} {% endif %} {% endunless %} +{% endcomment %} -{% if redirect %} +{% 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 49acf7a1..d69956ac 100644 --- a/Custom_Templates/customer_templates/Cin7 Customers/_courses_catalog.html.liquid +++ b/Custom_Templates/customer_templates/Cin7 Customers/_courses_catalog.html.liquid @@ -2,34 +2,9 @@
Please do not complete any courses unless they have been assigned to you, or you have your supervisor's permission. Thank you.
++ {{certificate.verification_description}} +
+
+
+
+
+