Anthology templates. William sonoma as well.
This commit is contained in:
@ -203,6 +203,11 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
<div class="np-card-container">
|
<div class="np-card-container">
|
||||||
|
{% if course.ribbon %}
|
||||||
|
<div class="np-card-ribbon">
|
||||||
|
{{ course.ribbon }}
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
<div class="card-image-replacement"></div>
|
<div class="card-image-replacement"></div>
|
||||||
{%- comment -%} <img
|
{%- comment -%} <img
|
||||||
class="np-card-image"
|
class="np-card-image"
|
||||||
|
|||||||
@ -268,6 +268,12 @@
|
|||||||
</div>
|
</div>
|
||||||
</div> {% endcomment %}
|
</div> {% endcomment %}
|
||||||
<div class="np-card-container">
|
<div class="np-card-container">
|
||||||
|
{% if course.ribbon %}
|
||||||
|
<div class="np-card-ribbon">
|
||||||
|
{{ course.ribbon }}
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<div class="card-image-replacement"></div>
|
<div class="card-image-replacement"></div>
|
||||||
<div class="np-card-content np-card-content-vertical np-card-padding course-card-info">
|
<div class="np-card-content np-card-content-vertical np-card-padding course-card-info">
|
||||||
<div class="np-flex-1">
|
<div class="np-flex-1">
|
||||||
|
|||||||
@ -1,3 +1,5 @@
|
|||||||
|
|
||||||
|
|
||||||
<div class="homepage-resource-header catalog-header" style="margin-top: 50px; margin-bottom: 20px;">
|
<div class="homepage-resource-header catalog-header" style="margin-top: 50px; margin-bottom: 20px;">
|
||||||
All Learning
|
All Learning
|
||||||
</div>
|
</div>
|
||||||
@ -5,9 +7,13 @@
|
|||||||
<div class="np-catalog-courses" style="display: flex; flex-direction: row; flex-wrap: wrap;">
|
<div class="np-catalog-courses" style="display: flex; flex-direction: row; flex-wrap: wrap;">
|
||||||
{% comment %} row row-with-thumbnails {% endcomment %}
|
{% comment %} row row-with-thumbnails {% endcomment %}
|
||||||
{% for course in courses.enrolled %}
|
{% for course in courses.enrolled %}
|
||||||
|
{% assign allCats = '' %}
|
||||||
|
{% for category in course.categories %}
|
||||||
|
{% assign allCats = allCats | append: category.name | append: ' || '%}
|
||||||
|
{% endfor %}
|
||||||
{%- comment -%} {% unless course.progress > 0 %}
|
{%- comment -%} {% unless course.progress > 0 %}
|
||||||
{% endunless %} {%- endcomment -%}
|
{% endunless %} {%- endcomment -%}
|
||||||
<div class="col-xs-12 col-sm-6 col-lg-4 np-stretch-content course-card-wrapper" data-product="{{ course.properties.product_names_for_course_cards}}">
|
<div class="col-xs-12 col-sm-6 col-lg-4 np-stretch-content course-card-wrapper" data-product="{{ course.properties.product_names_for_course_cards}}" data-categories="{{ allCats }}">
|
||||||
{%- comment -%} {% include "cards_course" with course, flag: 'catalog' %} {%- endcomment -%}
|
{%- comment -%} {% include "cards_course" with course, flag: 'catalog' %} {%- endcomment -%}
|
||||||
{% if current_person.email contains '+preview' or current_person.email == 'kfelton@anthology.com'%}
|
{% if current_person.email contains '+preview' or current_person.email == 'kfelton@anthology.com'%}
|
||||||
{% include "cards_course_revamped" with course, flag: 'null' %}
|
{% include "cards_course_revamped" with course, flag: 'null' %}
|
||||||
|
|||||||
@ -73,6 +73,7 @@
|
|||||||
}
|
}
|
||||||
allLearning[i].classList.remove('filtered');
|
allLearning[i].classList.remove('filtered');
|
||||||
} else {
|
} else {
|
||||||
|
console.log(allLearning[i].dataset)
|
||||||
if(allLearning[i].dataset.categories.indexOf(event.target.value) == -1){
|
if(allLearning[i].dataset.categories.indexOf(event.target.value) == -1){
|
||||||
allLearning[i].style.display = 'none';
|
allLearning[i].style.display = 'none';
|
||||||
allLearning[i].classList.add('filtered');
|
allLearning[i].classList.add('filtered');
|
||||||
|
|||||||
@ -121,6 +121,7 @@
|
|||||||
<div class="catalog-filter-component">
|
<div class="catalog-filter-component">
|
||||||
<span style="color: #757575; margin-bottom: 10px; padding-left: 5px;">Filter By:</span>
|
<span style="color: #757575; margin-bottom: 10px; padding-left: 5px;">Filter By:</span>
|
||||||
<div class="filter-buttons-container">
|
<div class="filter-buttons-container">
|
||||||
|
{% capture label %}{% t shared.filters.by_type %}{% endcapture %}
|
||||||
{% include "filter_by_product", page: 'Homepage' %}
|
{% include "filter_by_product", page: 'Homepage' %}
|
||||||
{% include "filter_by_category", page: 'Homepage' %}
|
{% include "filter_by_category", page: 'Homepage' %}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -95,5 +95,4 @@
|
|||||||
console.log(`User is enrolled in New Hire Learning Path: {{ is_enrolled_in_new_hire_lp }}`)
|
console.log(`User is enrolled in New Hire Learning Path: {{ is_enrolled_in_new_hire_lp }}`)
|
||||||
console.log(`Current Progress of New Hire Path: {{ new_hire_progress }}%`)
|
console.log(`Current Progress of New Hire Path: {{ new_hire_progress }}%`)
|
||||||
console.log(`Zoom URL: {{ zoom_url }}`)
|
console.log(`Zoom URL: {{ zoom_url }}`)
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user