diff --git a/Custom_Templates/customer_templates/.DS_Store b/Custom_Templates/customer_templates/.DS_Store index b65302b5..9d1a92c6 100644 Binary files a/Custom_Templates/customer_templates/.DS_Store and b/Custom_Templates/customer_templates/.DS_Store differ diff --git a/Custom_Templates/customer_templates/Walmart Luminate/_cards_article.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Prod/_cards_article.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Walmart Luminate/_cards_article.html.liquid rename to Custom_Templates/customer_templates/Walmart Luminate Prod/_cards_article.html.liquid diff --git a/Custom_Templates/customer_templates/Walmart Luminate/_cards_course.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Prod/_cards_course.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Walmart Luminate/_cards_course.html.liquid rename to Custom_Templates/customer_templates/Walmart Luminate Prod/_cards_course.html.liquid diff --git a/Custom_Templates/customer_templates/Walmart Luminate/_cards_course_ongoing.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Prod/_cards_course_ongoing.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Walmart Luminate/_cards_course_ongoing.html.liquid rename to Custom_Templates/customer_templates/Walmart Luminate Prod/_cards_course_ongoing.html.liquid diff --git a/Custom_Templates/customer_templates/Walmart Luminate/_cards_learning_path.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Prod/_cards_learning_path.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Walmart Luminate/_cards_learning_path.html.liquid rename to Custom_Templates/customer_templates/Walmart Luminate Prod/_cards_learning_path.html.liquid diff --git a/Custom_Templates/customer_templates/Walmart Luminate/_cards_learning_path_progress.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Prod/_cards_learning_path_progress.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Walmart Luminate/_cards_learning_path_progress.html.liquid rename to Custom_Templates/customer_templates/Walmart Luminate Prod/_cards_learning_path_progress.html.liquid diff --git a/Custom_Templates/customer_templates/Walmart Luminate/_cards_training_event.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Prod/_cards_training_event.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Walmart Luminate/_cards_training_event.html.liquid rename to Custom_Templates/customer_templates/Walmart Luminate Prod/_cards_training_event.html.liquid diff --git a/Custom_Templates/customer_templates/Walmart Luminate/_course_desktop_view.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Prod/_course_desktop_view.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Walmart Luminate/_course_desktop_view.html.liquid rename to Custom_Templates/customer_templates/Walmart Luminate Prod/_course_desktop_view.html.liquid diff --git a/Custom_Templates/customer_templates/Walmart Luminate/_course_header.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Prod/_course_header.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Walmart Luminate/_course_header.html.liquid rename to Custom_Templates/customer_templates/Walmart Luminate Prod/_course_header.html.liquid diff --git a/Custom_Templates/customer_templates/Walmart Luminate Prod/_courses_catalog.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Prod/_courses_catalog.html.liquid new file mode 100644 index 00000000..8a7265b5 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Prod/_courses_catalog.html.liquid @@ -0,0 +1,27 @@ +{% if courses.in_catalog.any? %} +
+ {% for course in courses.in_catalog %} + {% unless course.properties.is_article_course %} + + {% 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 %} +
+ {% include "cards_course" with course %} +
+ {% endif %} + {% else %} +
+ {% include "cards_course" with course %} +
+ {% endif %} + {% endunless %} + {% endfor %} +
+{% else %} + {% capture message %} + {% t shared.zero_state.courses.catalog, + key: current_school.course_vocabulary + %} + {% endcapture %} + {% include "courses_zero_state", message: message %} +{% endif %} \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Luminate Prod/_courses_index.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Prod/_courses_index.html.liquid new file mode 100644 index 00000000..bfedbd70 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Prod/_courses_index.html.liquid @@ -0,0 +1,26 @@ +{% if courses.enrolled.any? %} +
+ {% for course in courses.enrolled %} + {% unless course.properties.is_article_course %} + {% 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 %} +
+ {% include "cards_course" with course %} +
+ {% endif %} + {% else %} +
+ {% include "cards_course" with course %} +
+ {% endif %} + {% endunless %} + {% endfor %} +
+{% else %} + {% capture message %} + {% t shared.zero_state.courses.index, + key: current_school.course_vocabulary + %} + {% endcapture %} + {% include "courses_zero_state", message: message %} +{% endif %} diff --git a/Custom_Templates/customer_templates/Walmart Luminate/_footer.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Prod/_footer.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Walmart Luminate/_footer.html.liquid rename to Custom_Templates/customer_templates/Walmart Luminate Prod/_footer.html.liquid diff --git a/Custom_Templates/customer_templates/Walmart Luminate/_head.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Prod/_head.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Walmart Luminate/_head.html.liquid rename to Custom_Templates/customer_templates/Walmart Luminate Prod/_head.html.liquid diff --git a/Custom_Templates/customer_templates/Walmart Luminate/_header.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Prod/_header.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Walmart Luminate/_header.html.liquid rename to Custom_Templates/customer_templates/Walmart Luminate Prod/_header.html.liquid diff --git a/Custom_Templates/customer_templates/Walmart Luminate/_homepage_featured.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Prod/_homepage_featured.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Walmart Luminate/_homepage_featured.html.liquid rename to Custom_Templates/customer_templates/Walmart Luminate Prod/_homepage_featured.html.liquid diff --git a/Custom_Templates/customer_templates/Walmart Luminate/_homepage_ongoing_training.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Prod/_homepage_ongoing_training.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Walmart Luminate/_homepage_ongoing_training.html.liquid rename to Custom_Templates/customer_templates/Walmart Luminate Prod/_homepage_ongoing_training.html.liquid diff --git a/Custom_Templates/customer_templates/Walmart Luminate/_homepage_topics.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Prod/_homepage_topics.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Walmart Luminate/_homepage_topics.html.liquid rename to Custom_Templates/customer_templates/Walmart Luminate Prod/_homepage_topics.html.liquid diff --git a/Custom_Templates/customer_templates/Walmart Luminate/_learning_path_course.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Prod/_learning_path_course.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Walmart Luminate/_learning_path_course.html.liquid rename to Custom_Templates/customer_templates/Walmart Luminate Prod/_learning_path_course.html.liquid diff --git a/Custom_Templates/customer_templates/Walmart Luminate/_learning_path_desktop_view.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Prod/_learning_path_desktop_view.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Walmart Luminate/_learning_path_desktop_view.html.liquid rename to Custom_Templates/customer_templates/Walmart Luminate Prod/_learning_path_desktop_view.html.liquid diff --git a/Custom_Templates/customer_templates/Walmart Luminate/_learning_path_mobile_view.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Prod/_learning_path_mobile_view.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Walmart Luminate/_learning_path_mobile_view.html.liquid rename to Custom_Templates/customer_templates/Walmart Luminate Prod/_learning_path_mobile_view.html.liquid diff --git a/Custom_Templates/customer_templates/Walmart Luminate/_search_result.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Prod/_search_result.html.liquid similarity index 93% rename from Custom_Templates/customer_templates/Walmart Luminate/_search_result.html.liquid rename to Custom_Templates/customer_templates/Walmart Luminate Prod/_search_result.html.liquid index b19e79db..52529889 100644 --- a/Custom_Templates/customer_templates/Walmart Luminate/_search_result.html.liquid +++ b/Custom_Templates/customer_templates/Walmart Luminate Prod/_search_result.html.liquid @@ -1,5 +1,5 @@ {% if result.type == "course" %} -
+
{% for link in navigations.sub_navigation %} - {% unless link.label == "Events" %} - - {% endunless %} + {% endfor %}