Cin7 templates, Luminate templates. Walmart scripts and directory reorg

This commit is contained in:
Norm Rasmussen
2024-08-19 17:06:01 -04:00
parent d4c72dcc79
commit 46240bb702
133 changed files with 8027 additions and 83 deletions

View File

@ -2,19 +2,20 @@
<div class="np-catalog-courses row row-with-thumbnails">
{% for course in courses.in_catalog %}
{% unless course.properties.is_article_course %}
{% if course.properties.course_language == current_person.properties.language %}
<div class="col-xs-12 col-md-6 col-lg-4 np-stretch-content">
{% include "cards_course" with course %}
</div>
{% if course.properties.course_language == "es" and current_person.properties.language == "es" %}
<div class="col-xs-12 col-md-6 col-lg-4 np-stretch-content">
{% include "cards_course" with course %}
</div>
{% elsif course.properties.course_language == "en" and current_person.properties.language == "en" %}
<div class="col-xs-12 col-md-6 col-lg-4 np-stretch-content">
{% include "cards_course" with course %}
</div>
{% endif %}
{% comment %} ---------------------------- {% endcomment %}
{%- comment -%} This is code from the US school that was filter specific courses. Keeping it here in case Mexico does the same thing. -- NR {%- endcomment -%}
{%- comment -%} --------------------------- {%- endcomment -%}
{% comment %}
{% if course.id == "6cc26c57-34db-4b8e-a38b-ad321ce18add" or course.id == "ac4fbf2e-ed8f-404d-b995-f0ef73481466" %}
{% if course.id == "6cc26c57-34db-4b8e-a38b-ad321ce18add" or course.id == "ac4fbf2e-ed8f-404d-b995-f0ef73481466" %}
{% if current_person.properties.hide_api_certification_exam_course == false %}
<div class="col-xs-12 col-md-6 col-lg-4 np-stretch-content">
{% include "cards_course" with course %}

View File

@ -20,7 +20,7 @@ function setLang(lang) {
if (localStorage.getItem('language') == null || localStorage.getItem('language') != lang) {
localStorage.setItem('language', lang)
}
var data = {
uuid : '{{current_person.id}}',
language : lang
@ -39,7 +39,7 @@ function setLang(lang) {
});
}
/* When the user clicks on the button,
/* When the user clicks on the button,
toggle between hiding and showing the dropdown content */
function myFunction() {
document.getElementById("myDropdown").classList.toggle("show");

View File

@ -144,7 +144,7 @@
<div class="col-xs-12">
<div class="np-learning-paths-resources-container">
<div class="np-zero-state-text">
You don't have any learning Paths in progress.
Yikes! You don't have any learning Paths in progress.
</div>
<img class="np-zero-state-learning-paths" alt="" />
</div>