WilliamSonoma templates. Chubb CISA script. Cloning for Anthology Partners.
This commit is contained in:
@ -15,7 +15,19 @@
|
||||
Supplementals
|
||||
</a>
|
||||
<div class="np-sub-navigation-content-item-bar np-button-background-color"></div>
|
||||
</div>
|
||||
</div>
|
||||
{% for course in courses.enrolled %}
|
||||
{% for category in course.categories %}
|
||||
{% if category.name == "Instructor-Led" %}
|
||||
<div class="np-sub-navigation-content-item ilt-link">
|
||||
<a class="np-sub-navigation-content-item-link" href="/app/instructor-led-training">
|
||||
Instructor-Led Training
|
||||
</a>
|
||||
<div class="np-sub-navigation-content-item-bar np-button-background-color"></div>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
@ -44,4 +56,7 @@
|
||||
if (window.location.pathname == "/app/supplementals") {
|
||||
document.querySelector(".supplementals-link").classList.add("active")
|
||||
}
|
||||
if (window.location.pathname == "/app/instructor-led-training") {
|
||||
document.querySelector(".ilt-link").classList.add("active")
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user