From f8dcd58b04b61cad7ff6c03b00bff7e9e37821d8 Mon Sep 17 00:00:00 2001 From: Norm Rasmussen Date: Thu, 26 Feb 2026 18:40:09 -0500 Subject: [PATCH] Template changes for Williams-Sonoma, Artera, and Instacart. --- .../Artera_prod/auth_url_email.html.liquid | 2 +- .../Instacart - Carrot/master.html.liquid | 20 ++-- .../_catalog_popup_message.html | 97 ------------------- .../_catalog_popup_message.html.liquid | 2 + .../WSGC - Post-New Hire/_header.html.liquid | 6 +- .../_sub_navigation.html.liquid | 9 +- .../WSGC - Post-New Hire/catalog.html.liquid | 8 +- .../WSGC - Post-New Hire/homepage.html.liquid | 18 ++-- 8 files changed, 37 insertions(+), 125 deletions(-) delete mode 100644 Custom_Templates/customer_templates/WSGC - Post-New Hire/_catalog_popup_message.html diff --git a/Custom_Templates/customer_templates/Artera_prod/auth_url_email.html.liquid b/Custom_Templates/customer_templates/Artera_prod/auth_url_email.html.liquid index fa185216..d021651e 100644 --- a/Custom_Templates/customer_templates/Artera_prod/auth_url_email.html.liquid +++ b/Custom_Templates/customer_templates/Artera_prod/auth_url_email.html.liquid @@ -69,7 +69,7 @@ // Grabs Email Address Value const learnerEmail = $("#learner_email")[0].value; - const blockedEmails = [ "gmail.com", "yahoo.com" ] + const blockedEmails = [ "gmail.com", "yahoo.com", "aol.com", "apple.com", "comcast.com", "google.com", "hotmail.com", "icloud.com", "outlook.com" ] // "hotmail.com", "aol.com", "outlook.com", "icloud.com", "me.com", "mac.com" ] if ($("#learner_email")[0].value.length > 0){ diff --git a/Custom_Templates/customer_templates/Instacart - Carrot/master.html.liquid b/Custom_Templates/customer_templates/Instacart - Carrot/master.html.liquid index 07068a30..428ed2ed 100644 --- a/Custom_Templates/customer_templates/Instacart - Carrot/master.html.liquid +++ b/Custom_Templates/customer_templates/Instacart - Carrot/master.html.liquid @@ -37,19 +37,19 @@ function updateFilter(filterId) { const filterContainer = document.querySelector('#filter-dropdown-' + filterId); const label = document.querySelector('#filter-dropdown-' + filterId + ' .filter-value-label'); - + if (filterContainer && label) { // Get category filter values const categorySelect = filterContainer.querySelector('select[name="category-filter"]'); const categoryValues = categorySelect ? Array.from(categorySelect.selectedOptions).map(option => option.value) : []; - + // Get progress filter values const progressSelect = filterContainer.querySelector('select[name="progress-filter"]'); const progressValues = progressSelect ? Array.from(progressSelect.selectedOptions).map(option => option.value) : []; - + // Calculate total selected count const totalSelected = categoryValues.length + progressValues.length; - + if (totalSelected === 0) { // Set language-specific "All" text const allTextEn = label.querySelector('.lang-en'); @@ -65,7 +65,7 @@ const selectedText = lang === 'es' ? `${totalSelected} seleccionados` : `${totalSelected} selected`; label.textContent = selectedText; } - + // Fire custom event with both filter types const filterUpdateEvent = new CustomEvent('filterUpdate', { detail: { @@ -74,14 +74,14 @@ progressValues: progressValues } }); - + document.dispatchEvent(filterUpdateEvent); } } function resetFilter(filterId) { const filterContainer = document.querySelector('#filter-dropdown-' + filterId); - + if (filterContainer) { // Reset category filter const categorySelect = filterContainer.querySelector('select[name="category-filter"]'); @@ -95,7 +95,7 @@ Array.from(categoryDisplay).forEach(child => { child.remove(); }); - + // Reset progress filter const progressSelect = filterContainer.querySelector('select[name="progress-filter"]'); if (progressSelect) { @@ -108,7 +108,7 @@ Array.from(progressDisplay).forEach(child => { child.remove(); }); - + // Update the filter to apply the reset updateFilter(filterId); } @@ -162,4 +162,4 @@ } }); - \ No newline at end of file + diff --git a/Custom_Templates/customer_templates/WSGC - Post-New Hire/_catalog_popup_message.html b/Custom_Templates/customer_templates/WSGC - Post-New Hire/_catalog_popup_message.html deleted file mode 100644 index de26d87e..00000000 --- a/Custom_Templates/customer_templates/WSGC - Post-New Hire/_catalog_popup_message.html +++ /dev/null @@ -1,97 +0,0 @@ - - -
-
-
-

- Welcome to the WSIU Course Catalog. -

-

Welcome to the future home of WSI University. At this time this area is under construction. If needed, please access WSIU through our Homefront site as usual. Do not access courses here at this time. Thank you.

-
-
- -
-
-
- - - - diff --git a/Custom_Templates/customer_templates/WSGC - Post-New Hire/_catalog_popup_message.html.liquid b/Custom_Templates/customer_templates/WSGC - Post-New Hire/_catalog_popup_message.html.liquid index de26d87e..80c7d236 100644 --- a/Custom_Templates/customer_templates/WSGC - Post-New Hire/_catalog_popup_message.html.liquid +++ b/Custom_Templates/customer_templates/WSGC - Post-New Hire/_catalog_popup_message.html.liquid @@ -1,3 +1,4 @@ +{% comment %}