From aaa07abe26f5db4d4e723428cd3c127184eb4f0f Mon Sep 17 00:00:00 2001 From: Norm Rasmussen Date: Wed, 5 Mar 2025 17:15:51 -0500 Subject: [PATCH] Some template changes. Nothing in particular. --- .../Chubb/_featured_cards_course.html.liquid | 38 +++++++++++++++++-- .../Chubb/_recommended_carousel.html.liquid | 8 ++-- 2 files changed, 39 insertions(+), 7 deletions(-) diff --git a/Custom_Templates/customer_templates/Chubb/_featured_cards_course.html.liquid b/Custom_Templates/customer_templates/Chubb/_featured_cards_course.html.liquid index d223549a..b456f8e8 100644 --- a/Custom_Templates/customer_templates/Chubb/_featured_cards_course.html.liquid +++ b/Custom_Templates/customer_templates/Chubb/_featured_cards_course.html.liquid @@ -1,11 +1,45 @@ {% if current_person.groups.any? %} {% for group in current_person.groups %} - {% if group.id == '' %} + {% if group.id == '2d93e49d-48e0-4419-baf8-88f31ad78349' %} {% comment %} < -----------------------------> The carousel HTML goes here. < -----------------------------> {% endcomment %} +
+
+
+
Hello!
+

+ Lorem Ipsum +

+
+ This is fake text +
+
Explore the entire catalog +
+
+ +
+
+ cornerstone +
+
+
{% endif %} {% endfor %} {% endif %} @@ -48,7 +82,6 @@ -{% unless group.id = '' %}
@@ -132,7 +165,6 @@
- {% endunless %} {% endif %} {% endfor %} {% endif %} diff --git a/Custom_Templates/customer_templates/Chubb/_recommended_carousel.html.liquid b/Custom_Templates/customer_templates/Chubb/_recommended_carousel.html.liquid index 5506ba07..14f3ea37 100644 --- a/Custom_Templates/customer_templates/Chubb/_recommended_carousel.html.liquid +++ b/Custom_Templates/customer_templates/Chubb/_recommended_carousel.html.liquid @@ -4,7 +4,7 @@ {% for group in current_person.groups %} {% for course in courses.in_catalog %} {% for category in course.categories %} - {% if group.id = '' and category.name = 'Recommended - ' %} + {% if group.id == '2d93e49d-48e0-4419-baf8-88f31ad78349' and category.name == 'Recommended - Access Agent ' %} {% assign content_counter = content_counter | plus: 1 %} {% elsif category.name == 'Recommended' %} {% assign content_counter = content_counter | plus: 1 %} @@ -17,7 +17,7 @@ {% for group in current_person.groups %} {% for learning_path in learning_paths.available %} {% for category in learning_path.categories %} - {% if group.id = '' and category.name = 'Recommended - ' %} + {% if group.id == '2d93e49d-48e0-4419-baf8-88f31ad78349' and category.name == 'Recommended - Access Agent ' %} {% assign content_counter = content_counter | plus: 1 %} {% elsif category.name == 'Recommended' %} {% assign content_counter = content_counter | plus: 1 %} @@ -35,7 +35,7 @@ {% for group in current_person.groups %} {% for course in courses.in_catalog%} {% for category in course.categories %} - {% if group.id = '' and category.name = 'Recommended - ' %} + {% if group.id == '2d93e49d-48e0-4419-baf8-88f31ad78349' and category.name == 'Recommended - Access Agent ' %} @@ -52,7 +52,7 @@ {% for group in current_person.groups %} {% for learning_path in learning_paths.available %} {% for category in learning_path.categories %} - {% if group.id = '' and category.name = 'Recommended - ' %} + {% if group.id == '2d93e49d-48e0-4419-baf8-88f31ad78349' and category.name == 'Recommended - Access Agent' %}