Fixed Spark's category cards again.
This commit is contained in:
@ -156,7 +156,7 @@
|
|||||||
|
|
||||||
{% comment %} NON SPECIFIED {% endcomment %}
|
{% comment %} NON SPECIFIED {% endcomment %}
|
||||||
{% for school_category in school_categories %}
|
{% for school_category in school_categories %}
|
||||||
{% unless school_category == "Getting Started" or school_category == "Earnings" or school_category == "Shopping & Delivery" or school_category == "Delivery" or school_category == "Using the App" or school_category == "Contacting Customers" %}
|
{% unless school_category == "Getting Started" or school_category == "Earnings" or school_category == "Shopping & Delivery" or school_category == "Delivery" or school_category == "Using the App" or school_category == "Contacting Customers" or school_category == "Rewards" %}
|
||||||
{% if school_category == "Resource Bundles" %}
|
{% if school_category == "Resource Bundles" %}
|
||||||
{% if features.learning_paths? and learning_paths.enrolled.any? %}
|
{% if features.learning_paths? and learning_paths.enrolled.any? %}
|
||||||
<div class="np-category-card" data-category='resource-bundles'>
|
<div class="np-category-card" data-category='resource-bundles'>
|
||||||
@ -188,6 +188,10 @@
|
|||||||
<img src="https://cdn.northpass.io/walmart/category-offer-acceptance-icon.webp" width="60" height="60" alt="Category Icon">
|
<img src="https://cdn.northpass.io/walmart/category-offer-acceptance-icon.webp" width="60" height="60" alt="Category Icon">
|
||||||
{% elsif school_category == "Returns" %}
|
{% elsif school_category == "Returns" %}
|
||||||
<img src="https://cdn.northpass.io/walmart/category-returns-icon.webp" width="60" height="60" alt="Category Icon">
|
<img src="https://cdn.northpass.io/walmart/category-returns-icon.webp" width="60" height="60" alt="Category Icon">
|
||||||
|
{% elsif school_category == "Rewards" %}
|
||||||
|
<img src="https://cdn.northpass.io/walmart/category-rewards-icon.webp" width="61" height="60" alt="Rewards Icon">
|
||||||
|
{% elsif school_category == "Safety" %}
|
||||||
|
<img src="https://cdn.northpass.io/walmart/category-safety-icon.webp" width="61" height="60" alt="Safety Icon">
|
||||||
{% else %}
|
{% else %}
|
||||||
<img src="https://cdn.northpass.io/walmart/category-spark-icon.webp" width="61" height="60" alt="Category Icon">
|
<img src="https://cdn.northpass.io/walmart/category-spark-icon.webp" width="61" height="60" alt="Category Icon">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Reference in New Issue
Block a user