From 011f47d102a7a5813507c277ec083d6681bdffed Mon Sep 17 00:00:00 2001 From: Norm Rasmussen Date: Wed, 26 Feb 2025 16:39:11 -0500 Subject: [PATCH] Templates for Chubb need updating. --- .../CE-CS-Internal-Demo/_head.html.liquid | 49 ++++++++++++++++++ .../customer_templates/Chubb/.DS_Store | Bin 0 -> 6148 bytes .../Chubb/_featured_cards_course.html.liquid | 8 ++- .../Chubb/_recommended_carousel.html.liquid | 6 ++- Scripts/API_Tests/Apikeys.py | 1 + Scripts/blank_javascript.js | 25 +++++++++ 6 files changed, 87 insertions(+), 2 deletions(-) create mode 100644 Custom_Templates/customer_templates/CE-CS-Internal-Demo/_head.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/.DS_Store create mode 100644 Scripts/blank_javascript.js diff --git a/Custom_Templates/customer_templates/CE-CS-Internal-Demo/_head.html.liquid b/Custom_Templates/customer_templates/CE-CS-Internal-Demo/_head.html.liquid new file mode 100644 index 00000000..cbea6a24 --- /dev/null +++ b/Custom_Templates/customer_templates/CE-CS-Internal-Demo/_head.html.liquid @@ -0,0 +1,49 @@ +{% styles default %} +{% styles colors %} +{% styles custom %} + +{% comment %} {% endcomment %} +{% comment %} {% endcomment %} +{% comment %} {% endcomment %} + + + + + +{% if current_person.groups.any? %} + {% for groups in current_person.groups %} + + {% assign group = groups.name | split: "," %} + + {% endfor %} +{% else %} + {% assign group = "None" %} + +{% endif %} + + {% assign email_add = current_person.email | split: "@" %} + {% assign domain = email_add.last | split: "." %} + + + diff --git a/Custom_Templates/customer_templates/Chubb/.DS_Store b/Custom_Templates/customer_templates/Chubb/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..5008ddfcf53c02e82d7eee2e57c38e5672ef89f6 GIT binary patch literal 6148 zcmeH~Jr2S!425mzP>H1@V-^m;4Wg<&0T*E43hX&L&p$$qDprKhvt+--jT7}7np#A3 zem<@ulZcFPQ@L2!n>{z**++&mCkOWA81W14cNZlEfg7;MkzE(HCqgga^y>{tEnwC%0;vJ&^%eQ zLs35+`xjp>T0 - {% endif %} + {% elsif group.id == '' %} + {% comment %} + <-------------------------------> + Jenelle, similar to above for Cornerstone, please add your carousel items here! + <-------------------------------> + {% endcomment %} + {% 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 66c7685e..6cdd44a9 100644 --- a/Custom_Templates/customer_templates/Chubb/_recommended_carousel.html.liquid +++ b/Custom_Templates/customer_templates/Chubb/_recommended_carousel.html.liquid @@ -14,7 +14,11 @@ {% endif %} {% endfor %} {% endfor %} +{% comment %} +To add for Chubb: +If person is in group show certain courses. +{% endcomment%}