Walmart Supplier asked for some small updates.
This commit is contained in:
@ -0,0 +1,41 @@
|
||||
{% if current_person.properties.first_login == true %}
|
||||
<script>
|
||||
window.location.replace('/app');
|
||||
</script>
|
||||
{% endif %}
|
||||
|
||||
{% assign in_progress_courses = 0 %}
|
||||
{% for course in courses.enrolled %}
|
||||
{% if course.progress > 0 and course.progress < 100 %}
|
||||
{% assign in_progress_courses = in_progress_courses | plus: 1 %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
|
||||
{% include "headerstart" %}
|
||||
{% include "course_version_outdated_alert", courses: courses.featured %}
|
||||
<main class="np-main np-catalog np-subpage-container np-max-width">
|
||||
{% include 'welcome_section_opencall' %}
|
||||
<div class="lps-wrapper grid">
|
||||
{% for learning_path in learning_paths.enrolled %}
|
||||
{% for category in learning_path.categories %}
|
||||
{% if category.name == "Sam's Club" %}
|
||||
{% include "cards_learning_paths_squares" %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
</main>
|
||||
{% include "footer" %}
|
||||
|
||||
<style>
|
||||
.grid {
|
||||
Display: Flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
@media (max-width: 800px) {
|
||||
.grid {
|
||||
flex-direction: column;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user