From e9ea1556e8b9ade69f3045a71eac701a3f755cf1 Mon Sep 17 00:00:00 2001 From: Norm Rasmussen Date: Tue, 9 Dec 2025 17:03:23 -0500 Subject: [PATCH] Artera requested the new course content to be added more places. --- .../Artera_prod/_cards_course.html.liquid | 3 +++ .../Artera_prod/_course_progress_and_cta.html.liquid | 7 +++++++ .../Artera_prod/_course_version_outdated_alert.html.liquid | 7 +++++++ .../Artera_prod/_course_version_outdated_popup.html.liquid | 1 + .../customer_templates/Artera_prod/_header.html.liquid | 1 + .../customer_templates/Artera_prod/catalog.html.liquid | 1 - .../customer_templates/Artera_prod/dashboard.html.liquid | 5 ++++- .../customer_templates/Artera_prod/styles.css.liquid | 4 ++-- 8 files changed, 25 insertions(+), 4 deletions(-) diff --git a/Custom_Templates/customer_templates/Artera_prod/_cards_course.html.liquid b/Custom_Templates/customer_templates/Artera_prod/_cards_course.html.liquid index ae793964..52ed393b 100644 --- a/Custom_Templates/customer_templates/Artera_prod/_cards_course.html.liquid +++ b/Custom_Templates/customer_templates/Artera_prod/_cards_course.html.liquid @@ -24,6 +24,9 @@ {{ course.name }} + {% if course.has_to_restart? %} + {% include "course_version_outdated_popup", path: course_path %} + {% endif %}

{{ course.short_description }}

diff --git a/Custom_Templates/customer_templates/Artera_prod/_course_progress_and_cta.html.liquid b/Custom_Templates/customer_templates/Artera_prod/_course_progress_and_cta.html.liquid index 1c3db9fa..cf2807de 100644 --- a/Custom_Templates/customer_templates/Artera_prod/_course_progress_and_cta.html.liquid +++ b/Custom_Templates/customer_templates/Artera_prod/_course_progress_and_cta.html.liquid @@ -24,6 +24,13 @@ {% else %} + {% if course.has_to_restart? %} + {% include "course_version_outdated_popup", path: course %} + +{% endif %} {% endif %} + + diff --git a/Custom_Templates/customer_templates/Artera_prod/_course_version_outdated_popup.html.liquid b/Custom_Templates/customer_templates/Artera_prod/_course_version_outdated_popup.html.liquid index 71795884..0d2ace84 100644 --- a/Custom_Templates/customer_templates/Artera_prod/_course_version_outdated_popup.html.liquid +++ b/Custom_Templates/customer_templates/Artera_prod/_course_version_outdated_popup.html.liquid @@ -5,6 +5,7 @@ data-toggle-class-on-target="np-popup-tooltip--visible" data-toggle-target-parent=".np-popup-tooltip" data-toggle-outside + style="color:#9E7CFF; z-index:7" >
{% include 'my_courses_filter' %} + {% include "course_version_outdated_alert", courses: courses.in_catalog %}
diff --git a/Custom_Templates/customer_templates/Artera_prod/catalog.html.liquid b/Custom_Templates/customer_templates/Artera_prod/catalog.html.liquid index 1af807a2..21870d21 100644 --- a/Custom_Templates/customer_templates/Artera_prod/catalog.html.liquid +++ b/Custom_Templates/customer_templates/Artera_prod/catalog.html.liquid @@ -1,6 +1,5 @@ {% include "header" %}
- {% include "course_version_outdated_alert", courses: courses.in_catalog %}
diff --git a/Custom_Templates/customer_templates/Artera_prod/dashboard.html.liquid b/Custom_Templates/customer_templates/Artera_prod/dashboard.html.liquid index 3eaa8279..81036566 100644 --- a/Custom_Templates/customer_templates/Artera_prod/dashboard.html.liquid +++ b/Custom_Templates/customer_templates/Artera_prod/dashboard.html.liquid @@ -8,7 +8,7 @@ {% endif %}
- {% include "course_version_outdated_alert", courses: courses.enrolled %} + {% comment %} {% include "course_version_outdated_alert", courses: courses.enrolled %} {% endcomment %}
{% if features.learning_paths? %} @@ -80,6 +80,9 @@