Todos. Lumiante templates for mexico and canada. Finished datasnipper's templates.
This commit is contained in:
@ -20,10 +20,6 @@
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="filter-group">
|
||||
<div class="filter-group-heading">What is your learning style?</div>
|
||||
<div class="filters"></div>
|
||||
</div>
|
||||
<div class="filters-reset np-button" onClick="resetFilters()">Reset all Filters</div>
|
||||
</div>
|
||||
|
||||
@ -31,6 +27,7 @@
|
||||
.filter-sidebar {
|
||||
color: #fff;
|
||||
padding-left: 32px;
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
|
||||
.filter-group {
|
||||
|
||||
@ -6,6 +6,9 @@
|
||||
</div>
|
||||
{% if courses.in_catalog.any? %}
|
||||
<div class="np-catalog-courses row row-with-thumbnails">
|
||||
<div class="col-xs-12 col-sm-6 col-md-5 col-lg-3">
|
||||
{% include "filter_sidebar_courses" %}
|
||||
</div>
|
||||
{% for course in courses.in_catalog %}
|
||||
{% assign course_categories = "" %}
|
||||
{% for cat in course.categories %}
|
||||
@ -19,11 +22,6 @@
|
||||
{% endunless %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% comment %}
|
||||
<div class="col-xs-12 col-sm-6 col-md-5 col-lg-3">
|
||||
{% include "filter_sidebar_courses" %}
|
||||
</div>
|
||||
{% endcomment %}
|
||||
{% else %}
|
||||
{% capture message %}
|
||||
{% t shared.zero_state.courses.catalog
|
||||
|
||||
@ -45,13 +45,13 @@
|
||||
<div class="header-dropdown-container np-hidden-mobile">
|
||||
<div class="dropdown-arrow"></div>
|
||||
<div class="header-dropdown">
|
||||
<a class="lang-en" href="https://walmartdataventures.mx/shopperbehavior">Shopper Behavior</a>
|
||||
<a class="lang-en" href="https://walmartdataventures.ca/shopperbehavior">Shopper Behavior</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="header-dropdown-container np-hidden-desktop">
|
||||
<div class="dropdown-arrow"></div>
|
||||
<div class="header-dropdown">
|
||||
<a href="https://walmartdataventures.mx/shopperbehavior">Shopper Behavior</a>
|
||||
<a href="https://walmartdataventures.ca/shopperbehavior">Shopper Behavior</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="header-text np-hidden-desktop">Learn</div>
|
||||
@ -131,10 +131,10 @@
|
||||
</div>
|
||||
</div>
|
||||
<nav class="np-header-avatar-tooltip-navigation">
|
||||
<a class="Profile np-header-avatar-tooltip-navigation-link" href="https://walmartdataventures.mx/profile">Profile</a>
|
||||
<a class="Admin np-header-avatar-tooltip-navigation-link" href="https://walmartdataventures.mx/admin">Admin</a>
|
||||
<a class="Resources np-header-avatar-tooltip-navigation-link" href="https://walmartdataventures.mx/resources">Resources</a>
|
||||
<a class="Support np-header-avatar-tooltip-navigation-link" href="https://walmartdataventures.mx/support">Support</a>
|
||||
<a class="Profile np-header-avatar-tooltip-navigation-link" href="https://walmartdataventures.ca/profile">Profile</a>
|
||||
<a class="Admin np-header-avatar-tooltip-navigation-link" href="https://walmartdataventures.ca/admin">Admin</a>
|
||||
<a class="Resources np-header-avatar-tooltip-navigation-link" href="https://walmartdataventures.ca/resources">Resources</a>
|
||||
<a class="Support np-header-avatar-tooltip-navigation-link" href="https://walmartdataventures.ca/support">Support</a>
|
||||
<a
|
||||
class="np-header-avatar-tooltip-navigation-link np-danger"
|
||||
href="{% route logout %}"
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
{% if result.type == "course" %}
|
||||
{% if current_person.properties.lang == 'en' and course.properties.lang = "en"}
|
||||
{% unless result.course.id == "fdc8acdc-0b7c-4064-a52b-1955379d411b" or result.course.id == "b3225a47-448d-4988-962a-18d37d6616d0" %}
|
||||
<div class="np-card np-search-result" data-id="{{result.course.id}}">
|
||||
<div class="np-card-container">
|
||||
@ -12,10 +13,10 @@
|
||||
<div>
|
||||
<a class="np-search-result-title" href="{{ result.path }}">
|
||||
{{ result.name }}
|
||||
</a>
|
||||
</a>
|
||||
</div>
|
||||
<div class="np-search-result-snippet">{{result.course.short_description}}</div>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="category-pills">
|
||||
{% for course in catalog_courses %}
|
||||
@ -29,9 +30,9 @@
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endunless %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
@ -79,6 +79,9 @@
|
||||
.Learning.Paths.np-resource-subtitle,
|
||||
.Article.np-resource-title,
|
||||
.Article.np-resource-subtitle,
|
||||
.Search.np-resource-title,
|
||||
.Search.np-resource-subtitle,
|
||||
.Search.np-resource-subtitle-number,
|
||||
.Certifications.np-resource-title,
|
||||
.Certifications.np-resource-subtitle,
|
||||
#desktop_upload_avatar,
|
||||
@ -472,6 +475,24 @@ body > main > div.np-catalog-header-wrapper > div.np-catalog-header > div.np-res
|
||||
display: block;
|
||||
content: "Cursos";
|
||||
}
|
||||
/* SEARCH */
|
||||
|
||||
.Search.np-resource-title::after {
|
||||
/* Search Results */
|
||||
text-indent: 0;
|
||||
line-height: 0;
|
||||
display: block;
|
||||
content: "Resultados de la búsqueda";
|
||||
}
|
||||
|
||||
.Search.np-resource-subtitle::after {
|
||||
/* showing */
|
||||
text-indent: 0;
|
||||
line-height: 0;
|
||||
display: block;
|
||||
content: "Demostración";
|
||||
}
|
||||
|
||||
|
||||
/* CATALOG */
|
||||
|
||||
|
||||
@ -1,11 +1,11 @@
|
||||
{% include "header" %}
|
||||
{% include "sub_navigation" %}
|
||||
<main class="np-main np-search np-subpage-container np-max-width">
|
||||
<div class="np-resource-title">
|
||||
<div class="Search np-resource-title">
|
||||
{% t .title %}
|
||||
</div>
|
||||
<div class="np-search-header">
|
||||
<div class="np-resource-subtitle">
|
||||
<div class="Search np-resource-subtitle">
|
||||
{% t .showing %}
|
||||
<span class="np-resource-subtitle-number">{{ results.count }}</span>
|
||||
{% t .results_for %}
|
||||
@ -69,4 +69,4 @@
|
||||
|
||||
document.querySelector(".np-resource-subtitle-number").innerText = searchResultsLength
|
||||
})
|
||||
</script>
|
||||
</script>
|
||||
|
||||
4
Todos.md
4
Todos.md
@ -431,6 +431,6 @@ Run lighthouse on anthology templates and find list of things that need to be im
|
||||
- [ ] WSGC - Add logic for [IC] in group name
|
||||
- [ ] WSGC - Change holiday course from catalog to enrolled
|
||||
- [ ] WSGC - Test iFrame (check Gong recordings)
|
||||
- [ ] Luminate - Search results in Canada not working
|
||||
- [ ] Spark - Enable search functionality
|
||||
- [X] Luminate - Search results in Canada not working
|
||||
- [X] Spark - Enable search functionality
|
||||
- [X] DataSnipper - Figure out logic for filters function
|
||||
|
||||
Reference in New Issue
Block a user