Supplier templates.

This commit is contained in:
Norm Rasmussen
2025-01-09 15:29:57 -05:00
parent 41a5a5af2e
commit 2ccb682b2f
5 changed files with 10 additions and 11 deletions

Binary file not shown.

View File

@ -106,7 +106,6 @@
font-size: 25px;
font-weight: 600;
text-align: center;
white-space: nowrap;
}
.heading {
color: #fff;

View File

@ -1,5 +1,6 @@
{% assign available_categories = 'Introduction to Walmart,Onboarding,Merchandising,Supply Chain,Getting Paid' %}
{% assign uniq_courses = '' %}
{% assign sorted_learning_paths = learning_paths.available | sort: "name" %}
<div class="welcome-courses-wrapper">
<div class="category-courses-wrapper">
@ -12,7 +13,7 @@
</span>
</div>
<div class="category-courses-container inactive">
{% for learning_path in learning_paths.available %}
{% for learning_path in sorted_learning_paths %}
{% for category in learning_path.categories %}
{% if category.name == 'Introduction to Walmart'%}
{% unless uniq_courses contains learning_path.name %}
@ -34,12 +35,13 @@
</span>
</div>
<div class="category-courses-container inactive">
{% for learning_path in learning_paths.available %}
{% assign uniq_courses = "" %}
{% for learning_path in sorted_learning_paths %}
{% for category in learning_path.categories %}
{% if category.name == 'Onboarding'%}
{% if category.name == 'Onboarding' %}
{% unless uniq_courses contains learning_path.name %}
{% include 'cards_learning_paths_square' %}
{% assign uniq_courses = uniq_courses | append: learning_path.name %}
{% assign uniq_courses = uniq_courses | append: learning_path.name | append: "," %}
{% endunless %}
{% endif %}
{% endfor %}
@ -56,7 +58,7 @@
</span>
</div>
<div class="category-courses-container inactive">
{% for learning_path in learning_paths.available %}
{% for learning_path in sorted_learning_paths %}
{% for category in learning_path.categories %}
{% if category.name == 'Merchandising'%}
{% unless uniq_courses contains learning_path.name %}
@ -78,7 +80,7 @@
</span>
</div>
<div class="category-courses-container inactive">
{% for learning_path in learning_paths.available %}
{% for learning_path in sorted_learning_paths %}
{% for category in learning_path.categories %}
{% if category.name == 'Supply Chain'%}
{% unless uniq_courses contains learning_path.name %}
@ -100,7 +102,7 @@
</span>
</div>
<div class="category-courses-container inactive">
{% for learning_path in learning_paths.available %}
{% for learning_path in sorted_learning_paths %}
{% for category in learning_path.categories %}
{% if category.name == 'Getting Paid'%}
{% unless uniq_courses contains learning_path.name %}

View File

@ -114,7 +114,7 @@
font-size: 0.875rem;
margin-top: 1rem;
}
@media (min-width:768px) {
.progress-ring-wrapper {
padding: 1.5rem 0.4rem 1rem 0.4rem;

View File

@ -5,11 +5,9 @@
{% endif %}
{% endfor %}
{% if current_person.properties.modal %}
{% if current_person.properties.first_login %}
{% include 'modal' %}
{% endif %}
{% endif %}
{% include "header" %}
{% include "course_version_outdated_alert", courses: courses.featured %}