diff --git a/Custom_Templates/customer_templates/Anthology - Production/_browse_by_product.html.liquid b/Custom_Templates/customer_templates/Anthology - Production/_browse_by_product.html.liquid new file mode 100644 index 00000000..d7fb953a --- /dev/null +++ b/Custom_Templates/customer_templates/Anthology - Production/_browse_by_product.html.liquid @@ -0,0 +1,32 @@ +
+ {% assign subscription_levels = current_person.properties.subscription_levels | split: "," %} + + {% for subscription_level in subscription_levels %} + {% assign name_level_pair = subscription_level | split: ":"%} + {% assign product_sub_level = name_level_pair | slice: 1 | strip %} +
  • + {% include "profile_logo_calculator", product: name_level_pair[0] %} +
  • + {% endfor %} +
    + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Anthology - Production/_cards_searched_course.html.liquid b/Custom_Templates/customer_templates/Anthology - Production/_cards_searched_course.html.liquid new file mode 100644 index 00000000..5477203e --- /dev/null +++ b/Custom_Templates/customer_templates/Anthology - Production/_cards_searched_course.html.liquid @@ -0,0 +1,227 @@ +{% if course.properties.product_names_for_course_cards == 'Anthology Reach' %} + {% assign product_logo = 'https://cdn.northpass.io/anthology/Reach.svg' %} + {% assign product_alt = 'Anthology Reach' %} + {% assign color_main = '#F06A32' %} + {% assign color_dark = '#731013' %} + {% assign color_light = '#F58545' %} +{% elsif course.properties.product_names_for_course_cards == 'Radius' %} + {% assign product_logo = 'blank' %} + {% assign color_main = '#F06A32' %} + {% assign color_dark = '#F3798A' %} + {% assign color_light = '#F58545' %} +{% elsif course.properties.product_names_for_course_cards == 'Anthology Engage' %} + {% assign product_logo = 'https://cdn.northpass.io/anthology/Engage.svg' %} + {% assign product_alt = 'Anthology Engage' %} + {% assign color_main = '#F06A32' %} + {% assign color_dark = '#F16423' %} + {% assign color_light = '#F3798A' %} +{% elsif course.properties.product_names_for_course_cards == 'Anthology Beacon' %} + {% assign product_logo = 'https://cdn.northpass.io/anthology/Beacon.svg' %} + {% assign product_alt = 'Anthology Beacon' %} + {% assign color_main = '#F06A32' %} + {% assign color_dark = '#D94827' %} + {% assign color_light = '#F16423' %} +{% elsif course.properties.product_names_for_course_cards == 'Anthology Milestone' %} + {% assign product_logo = 'https://cdn.northpass.io/anthology/Milestone.svg' %} + {% assign product_alt = 'Anthology Milestone' %} + {% assign color_main = '#F06A32' %} + {% assign color_dark = '#F3798A' %} + {% assign color_light = '#F9B5B5' %} +{% elsif course.properties.product_names_for_course_cards == 'Anthology Occupation Insight' %} + {% assign product_logo = 'https://cdn.northpass.io/anthology/Occupation+Insight.svg' %} + {% assign product_alt = 'Anthology Occupation Insight' %} + {% assign color_main = '#F06A32' %} + {% assign color_dark = '#F58545' %} + {% assign color_light = '#F9B5B5' %} +{% elsif course.properties.product_names_for_course_cards == 'Anthology Raise' %} + {% assign product_logo = 'https://cdn.northpass.io/anthology/Raise.svg' %} + {% assign product_alt = 'Anthology Raise' %} + {% assign color_main = '#F06A32' %} + {% assign color_dark = '#D94827' %} + {% assign color_light = '#F9B5B5' %} +{% elsif course.properties.product_names_for_course_cards == 'Anthology Digital Assistant' %} + {% assign product_logo = 'https://cdn.northpass.io/anthology/Digital+Assistant.svg' %} + {% assign product_alt = 'Anthology Digital Assistant' %} + {% assign color_main = '#F06A32' %} + {% assign color_dark = '#D94827' %} + {% assign color_light = '#F58545' %} +{% elsif course.properties.product_names_for_course_cards == 'Anthology Baseline' %} + {% assign product_logo = 'https://cdn.northpass.io/anthology/Baseline.svg' %} + {% assign product_alt = 'Anthology Baseline' %} + {% assign color_main = '#F06A32' %} + {% assign color_dark = '#731013' %} + {% assign color_light = '#D94827' %} +{% elsif course.properties.product_names_for_course_cards == 'Anthology Encompass' %} + {% assign product_logo = 'https://cdn.northpass.io/anthology/Encompass.svg' %} + {% assign product_alt = 'Anthology Encompass' %} + {% assign color_main = '#F06A32' %} + {% assign color_dark = '#731013' %} + {% assign color_light = '#F3798A' %} +{% elsif course.properties.product_names_for_course_cards == 'Talisma' %} + {% assign product_logo = 'blank' %} + {% assign color_main = '#F06A32' %} + {% assign color_dark = '#D94827' %} + {% assign color_light = '#F3798A' %} +{% elsif course.properties.product_names_for_course_cards == 'Anthology Student' %} + {% assign product_logo = 'https://cdn.northpass.io/anthology/Student.svg' %} + {% assign product_alt = 'Anthology Student' %} + {% assign color_main = '#82C342' %} + {% assign color_dark = '#96CA51' %} + {% assign color_light = '#F3E588' %} +{% elsif course.properties.product_names_for_course_cards == 'CVue' %} + {% assign product_logo = 'blank' %} + {% assign color_main = '#82C342' %} + {% assign color_dark = '#286734' %} + {% assign color_light = '#F3E588' %} +{% elsif course.properties.product_names_for_course_cards == 'Anthology Insight' %} + {% assign product_logo = 'https://cdn.northpass.io/anthology/Insight.svg' %} + {% assign product_alt = 'Anthology Insight' %} + {% assign color_main = '#82C342' %} + {% assign color_dark = '#286734' %} + {% assign color_light = '#82C342' %} +{% elsif course.properties.product_names_for_course_cards == 'Anthology Finance & HCM' %} + {% assign product_logo = 'https://cdn.northpass.io/anthology/Finance+%26+HCM.svg' %} + {% assign product_alt = 'Anthology Finance & HCM' %} + {% assign color_main = '#82C342' %} + {% assign color_dark = '#539542' %} + {% assign color_light = '#C9BD2E' %} +{% elsif course.properties.product_names_for_course_cards == 'Anthology Payroll' %} + {% assign product_logo = 'https://cdn.northpass.io/anthology/Payroll.svg' %} + {% assign product_alt = 'Anthology Payroll' %} + {% assign color_main = '#82C342' %} + {% assign color_dark = '#000000' %} + {% assign color_light = '#82C342' %} +{% elsif course.properties.product_names_for_course_cards == 'Anthology Academic Economics' %} + {% assign product_logo = 'https://cdn.northpass.io/anthology/Academic+Economics.svg' %} + {% assign product_alt = 'Anthology Academic Economics' %} + {% assign color_main = '#82C342' %} + {% assign color_dark = '#000000' %} + {% assign color_light = '#286734' %} +{% elsif course.properties.product_names_for_course_cards == 'Blackboard Learn' %} + {% assign product_logo = 'https://cdn.northpass.io/anthology/BBLearn.svg' %} + {% assign product_alt = 'Blackboard Learn' %} + {% assign color_main = '#1BA8E1' %} + {% assign color_dark = '#027BB6' %} + {% assign color_light = '#1BA8E1' %} +{% elsif course.properties.product_names_for_course_cards == 'Anthology Ally' %} + {% assign product_logo = 'https://cdn.northpass.io/anthology/Ally.svg' %} + {% assign product_alt = 'Anthology Ally' %} + {% assign color_main = '#1BA8E1' %} + {% assign color_dark = '#1BA8E1' %} + {% assign color_light = '#A3DBDC' %} +{% elsif course.properties.product_names_for_course_cards == 'Anthology Course Evaluations' %} + {% assign product_logo = 'https://s3.amazonaws.com/static.northpass.com/anthology/Course+Evaluations.svg' %} + {% assign product_alt = 'Anthology Course Evaluations' %} + {% assign color_main = '#1BA8E1' %} + {% assign color_dark = '#004C6D' %} + {% assign color_light = '#027BB6' %} +{%- comment -%} NEED DIFF IMG FORMAT FOR THIS ONE {%- endcomment -%} +{% elsif course.properties.product_names_for_course_cards == 'Anthology Evaluate' %} + {% assign product_logo = 'blank' %} + {% assign color_main = '#1BA8E1' %} + {% assign color_dark = '#027BB6' %} + {% assign color_light = '#A3DBDC' %} +{% elsif course.properties.product_names_for_course_cards == 'Anthology Portfolio' %} + {% assign product_logo = 'https://cdn.northpass.io/anthology/Portfolio.svg' %} + {% assign product_alt = 'Anthology Portfolio' %} + {% assign color_main = '#1BA8E1' %} + {% assign color_dark = '#0090A1' %} + {% assign color_light = '#5CC6CC' %} +{% elsif course.properties.product_names_for_course_cards == 'Anthology Program Review' %} + {% assign product_logo = 'https://s3.amazonaws.com/static.northpass.com/anthology/Program+Review.svg' %} + {% assign product_alt = 'Anthology Program Review' %} + {% assign color_main = '#1BA8E1' %} + {% assign color_dark = '#027BB6' %} + {% assign color_light = '#5CC6CC' %} +{% elsif course.properties.product_names_for_course_cards == 'Anthology Planning' %} + {% assign product_logo = 'https://cdn.northpass.io/anthology/Planning.svg' %} + {% assign product_alt = 'Anthology Planning' %} + {% assign color_main = '#1BA8E1' %} + {% assign color_dark = '#000000' %} + {% assign color_light = '#004C6D' %} +{% elsif course.properties.product_names_for_course_cards == 'Anthology Accreditation' %} + {% assign product_logo = 'https://cdn.northpass.io/anthology/Accreditation.svg' %} + {% assign product_alt = 'Anthology Accreditation' %} + {% assign color_main = '#1BA8E1' %} + {% assign color_dark = '#0090A1' %} + {% assign color_light = '#1BA8E1' %} +{% elsif course.properties.product_names_for_course_cards == 'Anthology 101' %} + {% assign product_logo = 'blank' %} + {% assign color_main = '#7F59A5' %} + {% assign color_dark = '#573376' %} + {% assign color_light = '#7F59A5' %} +{% elsif course.properties.product_names_for_course_cards == 'Academy Use & Navigation' %} + {% assign product_logo = 'blank' %} + {% assign color_main = '#7F59A5' %} + {% assign color_dark = '#6283C2' %} + {% assign color_light = '#87ADDB' %} +{% elsif course.properties.product_names_for_course_cards == 'Data Strategy' %} + {% assign product_logo = 'blank' %} + {% assign color_main = '#7F59A5' %} + {% assign color_dark = '#000000' %} + {% assign color_light = '#573376' %} +{% elsif course.properties.product_names_for_course_cards == 'Faculty Development' %} + {% assign product_logo = 'blank' %} + {% assign color_main = '#7F59A5' %} + {% assign color_dark = '#7F59A5' %} + {% assign color_light = '#AA7FB8' %} +{% elsif course.properties.product_names_for_course_cards == 'Power BI' %} + {% assign product_logo = 'blank' %} + {% assign color_main = '#7F59A5' %} + {% assign color_dark = '#573376' %} + {% assign color_light = '#87ADDB' %} +{% elsif course.properties.product_names_for_course_cards == 'Professional Development' %} + {% assign product_logo = 'blank' %} + {% assign color_main = '#7F59A5' %} + {% assign color_dark = '#000000' %} + {% assign color_light = '#87ADDB' %} +{% else %} + {% assign product_logo = 'blank' %} + {% assign color_main = '#DCE4E9' %} + {% assign color_dark = '#747A7B' %} + {% assign color_light = '#B2B7BA' %} +{% endif %} + +{% capture course_path %}{% route course, id: course.id %}{% endcapture %} +{% assign act_count = 0 %} +{% for section in course.sections %} + {% for activity in section.activities %} + {% assign act_count = act_count | plus : 1 %} + {% endfor %} +{% endfor %} + +
    +
    +
    +
    +
    +
    + {% if product_logo != 'blank' %} + + {% else %} + Anthology + {% endif %} +
    +
    +
    +
    +
    +

    + {{ course.name }} +

    + + {{ act_count }} {% if act_count == 1 %}Activity{% else %}Activities{% endif %} + +
    +
    + +
    +
    \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Anthology - Production/_cards_training_event.html.liquid b/Custom_Templates/customer_templates/Anthology - Production/_cards_training_event.html.liquid index ab91c2a7..3fc91efb 100644 --- a/Custom_Templates/customer_templates/Anthology - Production/_cards_training_event.html.liquid +++ b/Custom_Templates/customer_templates/Anthology - Production/_cards_training_event.html.liquid @@ -32,7 +32,7 @@ {% if training_event.sessions.size > 1 %} - Additional Sessions + Multiple Sessions {% else %} {% t .sessions, count: training_event.sessions.size %} {% endif %} diff --git a/Custom_Templates/customer_templates/Anthology - Production/_filter_by_product.html.liquid b/Custom_Templates/customer_templates/Anthology - Production/_filter_by_product.html.liquid index be8d75db..c6653e79 100644 --- a/Custom_Templates/customer_templates/Anthology - Production/_filter_by_product.html.liquid +++ b/Custom_Templates/customer_templates/Anthology - Production/_filter_by_product.html.liquid @@ -60,18 +60,10 @@ } let filterByProduct = () => { - //let filter = event.target.value.toLowerCase(); - //filter = filter.replaceAll(' ', '+'); - //filter = filter.replaceAll('&', '%26'); - //console.log(filter); - - //window.location.assign(`https://newacademy.anthology.com/app/search/23777883-6b85-449d-8d25-2e548c6e9ecc?q=${filter}`); - let allLearning = document.querySelector('.np-catalog-courses').children; for(let i = 0; i < allLearning.length; i++){ if(event.target.value == 'Default'){ - if(!allLearning[i].classList.contains('hidden-by-search')){ allLearning[i].style.display = 'block'; } @@ -89,17 +81,17 @@ }; }; - for(let i = 0; i < popular.length; i++){ - if(event.target.value == 'Default'){ - popular[i].style.display = 'block'; - } else { - if(popular[i].dataset.product != event.target.value){ - popular[i].style.display = 'none'; - } else { - popular[i].style.display = 'block'; - }; - }; - }; + // for(let i = 0; i < popular.length; i++){ + // if(event.target.value == 'Default'){ + // popular[i].style.display = 'block'; + // } else { + // if(popular[i].dataset.product != event.target.value){ + // popular[i].style.display = 'none'; + // } else { + // popular[i].style.display = 'block'; + // }; + // }; + // }; } {% elsif page == 'Dashboard' %} if(allProductTypesDash.length > 1){ diff --git a/Custom_Templates/customer_templates/Anthology - Production/_profile_logo_calculator.html.liquid b/Custom_Templates/customer_templates/Anthology - Production/_profile_logo_calculator.html.liquid index bf8024c0..888b55bf 100644 --- a/Custom_Templates/customer_templates/Anthology - Production/_profile_logo_calculator.html.liquid +++ b/Custom_Templates/customer_templates/Anthology - Production/_profile_logo_calculator.html.liquid @@ -20,8 +20,12 @@ {% assign product_logo = 'https://cdn.northpass.io/anthology/Baseline.svg' %} {% elsif product_name contains 'Encompass' %} {% assign product_logo = 'https://cdn.northpass.io/anthology/Encompass.svg' %} +{% elsif product_name contains 'Talisma' %} + {% assign product_logo = 'blank' %} {% elsif product_name contains 'Student' %} {% assign product_logo = 'https://cdn.northpass.io/anthology/Student.svg' %} +{% elsif product_name contains 'CVue' %} + {% assign product_logo = 'blank' %} {% elsif product_name contains 'Insight' %} {% assign product_logo = 'https://cdn.northpass.io/anthology/Insight.svg' %} {% elsif product_name contains 'Finance & HCM' %} @@ -63,7 +67,7 @@ {% assign product_logo = 'blank' %} {% endif %} -{% if product_logo contains 'blank' %} +{% comment %} {% if product_logo contains 'blank' %} {{ product_name }} @@ -71,4 +75,10 @@ -{% endif %} +{% endif %} {% endcomment %} + +{% unless product_logo contains 'blank' %} + + + +{% endunless %} diff --git a/Custom_Templates/customer_templates/Anthology - Production/_search_result.html.liquid b/Custom_Templates/customer_templates/Anthology - Production/_search_result.html.liquid index 5c2a4991..c47b33fa 100644 --- a/Custom_Templates/customer_templates/Anthology - Production/_search_result.html.liquid +++ b/Custom_Templates/customer_templates/Anthology - Production/_search_result.html.liquid @@ -1,19 +1,53 @@ -
    -
    -
    - {{ result.name }} -
    -
    - +{% comment %} https://newacademy.anthology.com/app/search/00000000-0000-0000?q= {% endcomment %} +{% comment %} {% if result.type == 'course' %} + {% assign act_count = 0 %} + {% for section in result.course.sections %} + {% for activity in section.activities %} + {% assign act_count = act_count | plus : 1 %} + {% endfor %} + {% endfor %} + + {% for course in courses.available %} + {% if result.item.id == course.id %} + {{ course.id }} + {{ course.name }} + {{ course.properties.product_names_for_course_cards }} + {% endif %} + {% endfor %} + +
    +
    +
    +
    +
    +
    + {% if product_logo != 'blank' or product_logo != null %} + + {% else %} + Anthology + {% endif %} +
    +
    +
    +
    +
    +

    {{ result.name }} - +

    + + {{ act_count }} {% if act_count == 1 %}Activity{% else %}Activities{% endif %} +
    -
    {{ result.description }}
    +
    +
    -
    +{% endif %} {% endcomment %} \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Anthology - Production/homepage.html.liquid b/Custom_Templates/customer_templates/Anthology - Production/homepage.html.liquid index 00de5e67..efe163d1 100644 --- a/Custom_Templates/customer_templates/Anthology - Production/homepage.html.liquid +++ b/Custom_Templates/customer_templates/Anthology - Production/homepage.html.liquid @@ -50,6 +50,9 @@
    + + {% comment %} {% include "browse_by_product" %} {% endcomment %} +
    {% include "sub_navigation" %}
    @@ -74,7 +77,25 @@ onkeyup="searchCourses()" /> - + + +{% comment %} ----------------------------------------------------------------- {% endcomment %} +{% comment %} FOR NORM: {% endcomment %} + {% comment %} Ln 67-80 >> new search {% endcomment %} + {% comment %} Ln 83-92 >> old search {% endcomment %} +{% comment %} ----------------------------------------------------------------- {% endcomment %} + + + {% comment %}
    + + +
    {% endcomment %}
    {%- comment -%} {% if current_person.email contains "+preview" %}
    @@ -84,6 +105,7 @@
    {% endif %} {%- endcomment -%} +
    Filter By:
    @@ -266,7 +288,8 @@ width: 100%; } - .catalog-search{ + .catalog-search, + .catalog-search:focus{ background-color: #fefefe; border: 1px solid #aa7fb9; border-radius: 30px; @@ -293,6 +316,10 @@ } @media screen and (min-width: 768px){ + .np-main{ + margin-top: 300px; + } + .mobile-subnav{ display: none; } @@ -329,9 +356,9 @@ left: 0; } - .catalog-header-wrapper{ + /* .catalog-header-wrapper{ margin-top: 300px; - } + } */ } @media screen and (min-width: 2200px){ diff --git a/Custom_Templates/customer_templates/Anthology - Production/search.html.liquid b/Custom_Templates/customer_templates/Anthology - Production/search.html.liquid index fdec3da4..6dc373e1 100644 --- a/Custom_Templates/customer_templates/Anthology - Production/search.html.liquid +++ b/Custom_Templates/customer_templates/Anthology - Production/search.html.liquid @@ -4,25 +4,175 @@ {% t .title %}
    + {% assign render_search = false %} + {% if results.items.any? %} + {% for result in results.items %} + {% comment %} https://newacademy.anthology.com/app/search/00000000-0000-0000?q= {% endcomment %} + {% if result.type == 'course' %} + {% for course in courses.enrolled %} + {% if result.course.id == course.id %} + {% assign render_search = true %} + {% endif %} + {% endfor %} + {% endif %} + {% endfor %} + {% endif %} + + {% if render_search %} + {% assign result_count = 0 %} + {% for item in results.items %} + {% if item.type == 'course' %} + {% assign result_count = result_count | plus: 1 %} + {% endif %} + {% endfor %} + {% endif %} +
    {% t .showing %} - {{ results.count }} + {% if render_search %} + {{ result_count }} + {% else %} + {{ results.count }} + {% endif %} {% t .results_for %} "{{ results.term }}"
    - {% capture label %}{% t shared.filters.by_type %}{% endcapture %} - {%- comment -%} {% - include "filter_dropdown", - filters: results.filters, - key: "type", - label: label - %} {%- endcomment -%} - {% include "filter_by_product", page: 'Search' %} + {% if render_search %} + {% capture label %}{% t shared.filters.by_type %}{% endcapture %} + {% include "filter_by_product", page: 'Search' %} + {% endif %}
    - {% if results.items.any? %} - {% render "search_result" for results.items as result %} + {% if render_search %} +
    + {% for result in results.items %} + {% comment %} https://newacademy.anthology.com/app/search/00000000-0000-0000?q= {% endcomment %} + {% if result.type == 'course' %} + {% for course in courses.enrolled %} + {% if result.course.id == course.id %} + {% include "cards_searched_course" with course %} + {% endif %} + {% endfor %} + {% endif %} + {% endfor %} +
    {% else %} {% include "search_zero_state" %} {% endif %} {% include "footer" %} + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Howard-Hanna/_allen_tate_resources.html.liquid b/Custom_Templates/customer_templates/Howard-Hanna/_allen_tate_resources.html.liquid index e190dd63..2d7ebb59 100644 --- a/Custom_Templates/customer_templates/Howard-Hanna/_allen_tate_resources.html.liquid +++ b/Custom_Templates/customer_templates/Howard-Hanna/_allen_tate_resources.html.liquid @@ -112,7 +112,7 @@ title: "Winner's Edge Annual Calendar", description: "See the Winner's Edge dates for this year", link_description: "View", - link: "https://docs.google.com/presentation/d/1WQBYHBksnLkqFDg0LtweQdZCTV4Pf_kPaQa8qrbs8ak/edit?usp=share_link" + link: "https://docs.google.com/presentation/d/1WIkbg9llt9juhSsYqTL53Z4Nt_HKnFMv_YqH0fiwjQ4/edit?usp=sharing" %} {% diff --git a/Custom_Templates/customer_templates/Walmart Luminate Sandbox/_homepage_featured.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Sandbox/_homepage_featured.html.liquid index 7f12b28c..39bbfe31 100644 --- a/Custom_Templates/customer_templates/Walmart Luminate Sandbox/_homepage_featured.html.liquid +++ b/Custom_Templates/customer_templates/Walmart Luminate Sandbox/_homepage_featured.html.liquid @@ -5,7 +5,10 @@
    {{ homepage.featured_courses_headline }}
    - +
    + +
    +