Files
Gainsight/Custom_Templates/customer_templates/Walmart Supplier Prod/grow-with-walmart-catalog.html.liquid
2024-10-25 16:17:46 -04:00

42 lines
1.4 KiB
Plaintext

{% include "header" %}
{% include "sub_navigation" %}
<main class="np-main np-catalog np-subpage-container np-max-width">
{% include 'grow_with_walmart_banners' %}
<div class="lps-wrapper">
{% for learning_path in learning_paths.enrolled %}
{% for category in learning_path.categories %}
{% if us_user_grow %}
{% if category.name == 'Grow With Walmart' %}
{% include "cards_learning_path" %}
{% endif %}
{% elsif us_user_supplier %}
{% unless category.name == 'Walmart Vriddhi' or category.name == 'Crece con Walmart' %}
{% include "cards_learning_path" %}
{% endunless %}
{% elsif india_user %}
{% if category.name == 'Walmart Vriddhi' %}
{% include "cards_learning_path" %}
{% endif %}
{% elsif mexico_user %}
{% if category.name == 'Crece con Walmart' %}
{% include "cards_learning_path" %}
{% endif %}
{% endif %}
{% endfor %}
{% endfor %}
{% if us_user_grow == false and us_user_supplier == false and india_user == false and mexico_user == false %}
{% capture message %}
{% t shared.zero_state.courses.catalog,
key: current_school.course_vocabulary
%}
{% endcapture %}
{% include "grow-with-walmart-zero-state", message: message %}
{% endif %}
</div>
</main>
{% include "footer" %}