Added category badge for spark
This commit is contained in:
@ -117,7 +117,7 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% comment %} SAFETY {% endcomment %}
|
{% comment %} SAFETY {% endcomment %}
|
||||||
{% for school_category in school_categories %}
|
{% for school_category in school_categories %}
|
||||||
{% if school_category == "Contacting Customers" %}
|
{% if school_category == "Safety" %}
|
||||||
<div class="np-category-card" data-category='{{school_category | replace: " ", "-" | downcase }}'>
|
<div class="np-category-card" data-category='{{school_category | replace: " ", "-" | downcase }}'>
|
||||||
<div class="np-category-card-content-wrapper">
|
<div class="np-category-card-content-wrapper">
|
||||||
<div class="np-category-card-img">
|
<div class="np-category-card-img">
|
||||||
@ -134,6 +134,25 @@
|
|||||||
{% include "filtered_courses_tray", category_name: school_category %}
|
{% include "filtered_courses_tray", category_name: school_category %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% comment %} REWARDS {% endcomment %}
|
||||||
|
{% for school_category in school_categories %}
|
||||||
|
{% if school_category == "Rewards" %}
|
||||||
|
<div class="np-category-card" data-category='{{school_category | replace: " ", "-" | downcase }}'>
|
||||||
|
<div class="np-category-card-content-wrapper">
|
||||||
|
<div class="np-category-card-img">
|
||||||
|
<img src="https://cdn.northpass.io/walmart/category-rewards-icon.webp" width="61" height="60" alt="Rewards Icon">
|
||||||
|
</div>
|
||||||
|
<div class="title-wrapper">
|
||||||
|
<div class="labels-wrapper">
|
||||||
|
<div class="label label-green new-topic-label">New</div>
|
||||||
|
</div>
|
||||||
|
<div class="np-category-title">{{school_category}}</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<i class="fas fa-chevron-right"></i></div>
|
||||||
|
{% include "filtered_courses_tray", category_name: school_category %}
|
||||||
|
{% endif %}
|
||||||
|
{% endfor %}
|
||||||
|
|
||||||
{% comment %} NON SPECIFIED {% endcomment %}
|
{% comment %} NON SPECIFIED {% endcomment %}
|
||||||
{% for school_category in school_categories %}
|
{% for school_category in school_categories %}
|
||||||
|
|||||||
Reference in New Issue
Block a user