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 @@