diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/.DS_Store b/Custom_Templates/customer_templates/Anthology Academy Production/.DS_Store deleted file mode 100644 index 5008ddfc..00000000 Binary files a/Custom_Templates/customer_templates/Anthology Academy Production/.DS_Store and /dev/null differ diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/learning_paths.html.liquid b/Custom_Templates/customer_templates/Anthology Academy Production/learning_paths.html.liquid deleted file mode 100644 index 40470d95..00000000 --- a/Custom_Templates/customer_templates/Anthology Academy Production/learning_paths.html.liquid +++ /dev/null @@ -1,13 +0,0 @@ -{% include "header" %} -
-
-
- {% t shared.learning_paths %} -
-
- {% t .subtitle %} -
- {% include "learning_paths_index", items: learning_paths.available %} -
-
-{% include "footer" %} diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/_account_avatar.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_account_avatar.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Anthology Academy Production/_account_avatar.html.liquid rename to Custom_Templates/customer_templates/Anthology Academy/_account_avatar.html.liquid diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/_account_desktop_view.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_account_desktop_view.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Anthology Academy Production/_account_desktop_view.html.liquid rename to Custom_Templates/customer_templates/Anthology Academy/_account_desktop_view.html.liquid diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/_account_form.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_account_form.html.liquid similarity index 98% rename from Custom_Templates/customer_templates/Anthology Academy Production/_account_form.html.liquid rename to Custom_Templates/customer_templates/Anthology Academy/_account_form.html.liquid index ddd264c2..742142db 100644 --- a/Custom_Templates/customer_templates/Anthology Academy Production/_account_form.html.liquid +++ b/Custom_Templates/customer_templates/Anthology Academy/_account_form.html.liquid @@ -1,7 +1,7 @@
{% t .header %}
-
+ + diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/_cards_training_event.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_cards_training_event.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Anthology Academy Production/_cards_training_event.html.liquid rename to Custom_Templates/customer_templates/Anthology Academy/_cards_training_event.html.liquid diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/_certificates_info_column.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_certificates_info_column.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Anthology Academy Production/_certificates_info_column.html.liquid rename to Custom_Templates/customer_templates/Anthology Academy/_certificates_info_column.html.liquid diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/_certificates_metadata.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_certificates_metadata.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Anthology Academy Production/_certificates_metadata.html.liquid rename to Custom_Templates/customer_templates/Anthology Academy/_certificates_metadata.html.liquid diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/_certificates_preview.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_certificates_preview.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Anthology Academy Production/_certificates_preview.html.liquid rename to Custom_Templates/customer_templates/Anthology Academy/_certificates_preview.html.liquid diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/_certificates_top_bar.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_certificates_top_bar.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Anthology Academy Production/_certificates_top_bar.html.liquid rename to Custom_Templates/customer_templates/Anthology Academy/_certificates_top_bar.html.liquid diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/_certificates_verification.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_certificates_verification.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Anthology Academy Production/_certificates_verification.html.liquid rename to Custom_Templates/customer_templates/Anthology Academy/_certificates_verification.html.liquid diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/_course_activity_locked.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_course_activity_locked.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Anthology Academy Production/_course_activity_locked.html.liquid rename to Custom_Templates/customer_templates/Anthology Academy/_course_activity_locked.html.liquid diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/_course_activity_unlocked.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_course_activity_unlocked.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Anthology Academy Production/_course_activity_unlocked.html.liquid rename to Custom_Templates/customer_templates/Anthology Academy/_course_activity_unlocked.html.liquid diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/_course_categories.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_course_categories.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Anthology Academy Production/_course_categories.html.liquid rename to Custom_Templates/customer_templates/Anthology Academy/_course_categories.html.liquid diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/_course_description.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_course_description.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Anthology Academy Production/_course_description.html.liquid rename to Custom_Templates/customer_templates/Anthology Academy/_course_description.html.liquid diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/_course_desktop_view.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_course_desktop_view.html.liquid similarity index 98% rename from Custom_Templates/customer_templates/Anthology Academy Production/_course_desktop_view.html.liquid rename to Custom_Templates/customer_templates/Anthology Academy/_course_desktop_view.html.liquid index 1b4d4fda..ae9fecd1 100644 --- a/Custom_Templates/customer_templates/Anthology Academy Production/_course_desktop_view.html.liquid +++ b/Custom_Templates/customer_templates/Anthology Academy/_course_desktop_view.html.liquid @@ -40,7 +40,7 @@ {% elsif course.properties.product_names_for_course_cards == 'Anthology Insight' %} {% assign product_logo = 'https://shelves.s3.us-east-1.amazonaws.com/academy/imgs/Anthology.png' %} {% assign product_alt = 'Anthology' %} -{% elsif course.properties.product_names_for_course_cards == 'Anthology Finance & HCM' %} +{% elsif course.properties.product_names_for_course_cards == 'Anthology Finance & HCM' or course.properties.product_names_for_course_cards contains 'Finance' or course.properties.product_names_for_course_cards contains 'HCM' %} {% assign product_logo = 'https://shelves.s3.us-east-1.amazonaws.com/academy/imgs/Anthology_FinanceHCM.png' %} {% assign product_alt = 'Anthology Finance & HCM' %} {% elsif course.properties.product_names_for_course_cards == 'Anthology Payroll' %} diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/_course_events.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_course_events.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Anthology Academy Production/_course_events.html.liquid rename to Custom_Templates/customer_templates/Anthology Academy/_course_events.html.liquid diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/_course_header.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_course_header.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Anthology Academy Production/_course_header.html.liquid rename to Custom_Templates/customer_templates/Anthology Academy/_course_header.html.liquid diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/_course_instructors.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_course_instructors.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Anthology Academy Production/_course_instructors.html.liquid rename to Custom_Templates/customer_templates/Anthology Academy/_course_instructors.html.liquid diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/_course_mobile_view.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_course_mobile_view.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Anthology Academy Production/_course_mobile_view.html.liquid rename to Custom_Templates/customer_templates/Anthology Academy/_course_mobile_view.html.liquid diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/_course_outline.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_course_outline.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Anthology Academy Production/_course_outline.html.liquid rename to Custom_Templates/customer_templates/Anthology Academy/_course_outline.html.liquid diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/_course_progress_and_cta.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_course_progress_and_cta.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Anthology Academy Production/_course_progress_and_cta.html.liquid rename to Custom_Templates/customer_templates/Anthology Academy/_course_progress_and_cta.html.liquid diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/_course_version_outdated_alert.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_course_version_outdated_alert.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Anthology Academy Production/_course_version_outdated_alert.html.liquid rename to Custom_Templates/customer_templates/Anthology Academy/_course_version_outdated_alert.html.liquid diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/_course_version_outdated_popup.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_course_version_outdated_popup.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Anthology Academy Production/_course_version_outdated_popup.html.liquid rename to Custom_Templates/customer_templates/Anthology Academy/_course_version_outdated_popup.html.liquid diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/_courses_catalog.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_courses_catalog.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Anthology Academy Production/_courses_catalog.html.liquid rename to Custom_Templates/customer_templates/Anthology Academy/_courses_catalog.html.liquid diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/_courses_index.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_courses_index.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Anthology Academy Production/_courses_index.html.liquid rename to Custom_Templates/customer_templates/Anthology Academy/_courses_index.html.liquid diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/_courses_index_completed.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_courses_index_completed.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Anthology Academy Production/_courses_index_completed.html.liquid rename to Custom_Templates/customer_templates/Anthology Academy/_courses_index_completed.html.liquid diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/_courses_index_in_prog.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_courses_index_in_prog.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Anthology Academy Production/_courses_index_in_prog.html.liquid rename to Custom_Templates/customer_templates/Anthology Academy/_courses_index_in_prog.html.liquid diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/_courses_zero_state.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_courses_zero_state.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Anthology Academy Production/_courses_zero_state.html.liquid rename to Custom_Templates/customer_templates/Anthology Academy/_courses_zero_state.html.liquid diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/_dropdown_courses.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_dropdown_courses.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Anthology Academy Production/_dropdown_courses.html.liquid rename to Custom_Templates/customer_templates/Anthology Academy/_dropdown_courses.html.liquid diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/_filter_by_category.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_filter_by_category.html.liquid similarity index 89% rename from Custom_Templates/customer_templates/Anthology Academy Production/_filter_by_category.html.liquid rename to Custom_Templates/customer_templates/Anthology Academy/_filter_by_category.html.liquid index 203a7723..88738ccf 100644 --- a/Custom_Templates/customer_templates/Anthology Academy Production/_filter_by_category.html.liquid +++ b/Custom_Templates/customer_templates/Anthology Academy/_filter_by_category.html.liquid @@ -37,18 +37,25 @@ $('document').ready(function(){ let allCategoryFilters = document.querySelectorAll('.category-filter-entry'); let allSearchedResults = document.querySelectorAll('.course-card'); - let allCourses = document.querySelector('.np-catalog-courses').children; + let allCourses = (document.querySelector('.np-catalog-courses') !== null) ? document.querySelector('.np-catalog-courses').children : ''; // for(let i = 0; i < allCourses.length; i++){ // allCourses[i].style.display = 'block'; // } +console.log(allCategoryFilters.length); + if(allCategoryFilters.length <= 1) { + document.querySelector('.catalog-filter-component').style.display = 'none'; + } else { + document.querySelector('.catalog-filter-component').style.display = 'block'; + } for(let i = 1; i < allCategoryFilters.length; i++){ let productFound = false; for(let j = 0; j < allSearchedResults.length; j++){ - - if(allSearchedResults[j].parentNode.dataset.categories.indexOf(allCategoryFilters[i].getAttribute('value')) > -1){ - productFound = true; + if(allSearchedResults[j].parentNode.dataset.categories){ + if(allSearchedResults[j].parentNode.dataset.categories.indexOf(allCategoryFilters[i].getAttribute('value')) > -1){ + productFound = true; + } } } @@ -91,13 +98,13 @@ for(let i = 1; i < allProductFiltersEntry.length; i++){ allProductFiltersEntry[i].style.display = 'block'; } - + if(event.target.value != 'Default'){ for(let i = 1; i < allProductFiltersEntry.length; i++){ let productFound = false; - + for(let j = 0; j < allFilteredResults.length; j++){ - + if(allFilteredResults[j].dataset.product){ if(allFilteredResults[j].dataset.product.indexOf(allProductFiltersEntry[i].getAttribute('value')) > -1){ if(!allFilteredResults[j].classList.contains('filtered')){ @@ -106,7 +113,7 @@ } } } - + if(!productFound){ allProductFiltersEntry[i].style.display = 'none'; } @@ -139,7 +146,7 @@ // if(catFound){ // allCategoryFiltersEntry[i].style.display = 'block'; - // } + // } // } // Last step is to return cat dropdown to always be all cats on product selection diff --git a/Custom_Templates/customer_templates/Anthology Academy/_filter_by_category_lp.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_filter_by_category_lp.html.liquid new file mode 100644 index 00000000..435b99a4 --- /dev/null +++ b/Custom_Templates/customer_templates/Anthology Academy/_filter_by_category_lp.html.liquid @@ -0,0 +1,160 @@ +
+ +
+ + diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/_filter_by_product.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_filter_by_product.html.liquid similarity index 80% rename from Custom_Templates/customer_templates/Anthology Academy Production/_filter_by_product.html.liquid rename to Custom_Templates/customer_templates/Anthology Academy/_filter_by_product.html.liquid index f098fb32..8608e043 100644 --- a/Custom_Templates/customer_templates/Anthology Academy Production/_filter_by_product.html.liquid +++ b/Custom_Templates/customer_templates/Anthology Academy/_filter_by_product.html.liquid @@ -71,7 +71,7 @@ } else { if(allLearning[i].dataset.product != event.target.value){ allLearning[i].style.display = 'none'; - allLearning[i].classList. add('hidden-by-product'); + allLearning[i].classList.add('hidden-by-product'); } else { allLearning[i].classList.remove('hidden-by-product'); if(!allLearning[i].classList.contains('filtered')){ @@ -144,6 +144,53 @@ // $('#category-filter-dropdown').val('Default'); }; {% elsif page == 'Dashboard' %} + if(allProductTypesDash.length > 1){ + allProductTypesDash.map((product) => { + if(product != 'Anthology-Default'){ + if(product.indexOf('&') > -1){ + product = product.replace('&', '&'); + } + let productOption = document.createElement('option'); + productOption.classList.add('product-filter-entry'); + productOption.setAttribute('value', product) + productOption.innerHTML = `${product}`; + + productFilterEl.appendChild(productOption); + } + }) + } else { + productFilterEl.style.display = 'none'; + document.querySelector('.view-swapper-container').style.marginBottom = '0'; + } + + let filterByProduct = () => { + let inProgressCourses = document.querySelector('.courses-in-prog').children; + let completedCourses = document.querySelector('.courses-completed').children; + + for(let i = 0; i < inProgressCourses.length; i++){ + if(event.target.value == 'Default'){ + inProgressCourses[i].style.display = 'block'; + } else { + if(inProgressCourses[i].dataset.product != event.target.value){ + inProgressCourses[i].style.display = 'none'; + } else { + inProgressCourses[i].style.display = 'block'; + } + } + } + + for(let i = 0; i < completedCourses.length; i++){ + if(event.target.value == 'Default'){ + completedCourses[i].style.display = 'block'; + } else { + if(completedCourses[i].dataset.product != event.target.value){ + completedCourses[i].style.display = 'none'; + } else { + completedCourses[i].style.display = 'block'; + } + } + } + } // if(allProductTypesDash.length > 1){ // allProductTypesDash.map((product) => { // if(product != 'Anthology-Default'){ diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/_filter_checkbox.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_filter_checkbox.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Anthology Academy Production/_filter_checkbox.html.liquid rename to Custom_Templates/customer_templates/Anthology Academy/_filter_checkbox.html.liquid diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/_filter_dropdown.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_filter_dropdown.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Anthology Academy Production/_filter_dropdown.html.liquid rename to Custom_Templates/customer_templates/Anthology Academy/_filter_dropdown.html.liquid diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/_filter_select.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_filter_select.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Anthology Academy Production/_filter_select.html.liquid rename to Custom_Templates/customer_templates/Anthology Academy/_filter_select.html.liquid diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/_footer.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_footer.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Anthology Academy Production/_footer.html.liquid rename to Custom_Templates/customer_templates/Anthology Academy/_footer.html.liquid diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/_head.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_head.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Anthology Academy Production/_head.html.liquid rename to Custom_Templates/customer_templates/Anthology Academy/_head.html.liquid diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/_header.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_header.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Anthology Academy Production/_header.html.liquid rename to Custom_Templates/customer_templates/Anthology Academy/_header.html.liquid diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/_header_minimal.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_header_minimal.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Anthology Academy Production/_header_minimal.html.liquid rename to Custom_Templates/customer_templates/Anthology Academy/_header_minimal.html.liquid diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/_learning_path_banners.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_learning_path_banners.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Anthology Academy Production/_learning_path_banners.html.liquid rename to Custom_Templates/customer_templates/Anthology Academy/_learning_path_banners.html.liquid diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/_learning_path_certificate.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_learning_path_certificate.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Anthology Academy Production/_learning_path_certificate.html.liquid rename to Custom_Templates/customer_templates/Anthology Academy/_learning_path_certificate.html.liquid diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/_learning_path_certificate_content.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_learning_path_certificate_content.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Anthology Academy Production/_learning_path_certificate_content.html.liquid rename to Custom_Templates/customer_templates/Anthology Academy/_learning_path_certificate_content.html.liquid diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/_learning_path_completed_banner.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_learning_path_completed_banner.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Anthology Academy Production/_learning_path_completed_banner.html.liquid rename to Custom_Templates/customer_templates/Anthology Academy/_learning_path_completed_banner.html.liquid diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/_learning_path_course.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_learning_path_course.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Anthology Academy Production/_learning_path_course.html.liquid rename to Custom_Templates/customer_templates/Anthology Academy/_learning_path_course.html.liquid diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/_learning_path_description.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_learning_path_description.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Anthology Academy Production/_learning_path_description.html.liquid rename to Custom_Templates/customer_templates/Anthology Academy/_learning_path_description.html.liquid diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/_learning_path_desktop_content.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_learning_path_desktop_content.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Anthology Academy Production/_learning_path_desktop_content.html.liquid rename to Custom_Templates/customer_templates/Anthology Academy/_learning_path_desktop_content.html.liquid diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/_learning_path_desktop_header.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_learning_path_desktop_header.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Anthology Academy Production/_learning_path_desktop_header.html.liquid rename to Custom_Templates/customer_templates/Anthology Academy/_learning_path_desktop_header.html.liquid diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/_learning_path_desktop_view.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_learning_path_desktop_view.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Anthology Academy Production/_learning_path_desktop_view.html.liquid rename to Custom_Templates/customer_templates/Anthology Academy/_learning_path_desktop_view.html.liquid diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/_learning_path_instructors.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_learning_path_instructors.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Anthology Academy Production/_learning_path_instructors.html.liquid rename to Custom_Templates/customer_templates/Anthology Academy/_learning_path_instructors.html.liquid diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/_learning_path_mobile_content.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_learning_path_mobile_content.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Anthology Academy Production/_learning_path_mobile_content.html.liquid rename to Custom_Templates/customer_templates/Anthology Academy/_learning_path_mobile_content.html.liquid diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/_learning_path_mobile_header.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_learning_path_mobile_header.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Anthology Academy Production/_learning_path_mobile_header.html.liquid rename to Custom_Templates/customer_templates/Anthology Academy/_learning_path_mobile_header.html.liquid diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/_learning_path_mobile_view.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_learning_path_mobile_view.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Anthology Academy Production/_learning_path_mobile_view.html.liquid rename to Custom_Templates/customer_templates/Anthology Academy/_learning_path_mobile_view.html.liquid diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/_learning_path_new_content_banner.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_learning_path_new_content_banner.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Anthology Academy Production/_learning_path_new_content_banner.html.liquid rename to Custom_Templates/customer_templates/Anthology Academy/_learning_path_new_content_banner.html.liquid diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/_learning_path_outline.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_learning_path_outline.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Anthology Academy Production/_learning_path_outline.html.liquid rename to Custom_Templates/customer_templates/Anthology Academy/_learning_path_outline.html.liquid diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/_learning_path_progress_and_cta.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_learning_path_progress_and_cta.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Anthology Academy Production/_learning_path_progress_and_cta.html.liquid rename to Custom_Templates/customer_templates/Anthology Academy/_learning_path_progress_and_cta.html.liquid diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/_learning_path_summary_desktop_view.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_learning_path_summary_desktop_view.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Anthology Academy Production/_learning_path_summary_desktop_view.html.liquid rename to Custom_Templates/customer_templates/Anthology Academy/_learning_path_summary_desktop_view.html.liquid diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/_learning_path_summary_mobile_view.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_learning_path_summary_mobile_view.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Anthology Academy Production/_learning_path_summary_mobile_view.html.liquid rename to Custom_Templates/customer_templates/Anthology Academy/_learning_path_summary_mobile_view.html.liquid diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/_learning_path_training_session.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_learning_path_training_session.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Anthology Academy Production/_learning_path_training_session.html.liquid rename to Custom_Templates/customer_templates/Anthology Academy/_learning_path_training_session.html.liquid diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/_learning_paths_index.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_learning_paths_index.html.liquid similarity index 80% rename from Custom_Templates/customer_templates/Anthology Academy Production/_learning_paths_index.html.liquid rename to Custom_Templates/customer_templates/Anthology Academy/_learning_paths_index.html.liquid index a4681210..b744bd3d 100644 --- a/Custom_Templates/customer_templates/Anthology Academy Production/_learning_paths_index.html.liquid +++ b/Custom_Templates/customer_templates/Anthology Academy/_learning_paths_index.html.liquid @@ -1,6 +1,7 @@
{% if items.any? %} - {% for learning_path in items %} + {% assign sorted_items = items | sort: 'name' %} + {% for learning_path in sorted_items %} {% include "cards_learning_path" with learning_path %} {% endfor %} {% else %} diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/_messages.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_messages.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Anthology Academy Production/_messages.html.liquid rename to Custom_Templates/customer_templates/Anthology Academy/_messages.html.liquid diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/_popular_courses_non_carousel.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_popular_courses_non_carousel.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Anthology Academy Production/_popular_courses_non_carousel.html.liquid rename to Custom_Templates/customer_templates/Anthology Academy/_popular_courses_non_carousel.html.liquid diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/_popup_additional_info.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_popup_additional_info.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Anthology Academy Production/_popup_additional_info.html.liquid rename to Custom_Templates/customer_templates/Anthology Academy/_popup_additional_info.html.liquid diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/_product_bar.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_product_bar.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Anthology Academy Production/_product_bar.html.liquid rename to Custom_Templates/customer_templates/Anthology Academy/_product_bar.html.liquid diff --git a/Custom_Templates/customer_templates/Anthology Academy Production/_profile_card.html.liquid b/Custom_Templates/customer_templates/Anthology Academy/_profile_card.html.liquid similarity index 97% rename from Custom_Templates/customer_templates/Anthology Academy Production/_profile_card.html.liquid rename to Custom_Templates/customer_templates/Anthology Academy/_profile_card.html.liquid index 264c322c..ce750535 100644 --- a/Custom_Templates/customer_templates/Anthology Academy Production/_profile_card.html.liquid +++ b/Custom_Templates/customer_templates/Anthology Academy/_profile_card.html.liquid @@ -26,7 +26,7 @@ {% endunless %}
- +
@@ -45,7 +45,7 @@ - {% capture label %}{% t shared.filters.by_course %}{% endcapture %} - {% - include "filter_select", - filters: training_events.filters.courses, - key: "courses_uuid", - label: label - %} -