diff --git a/edx-platform/pearson-pathways-theme/lms/templates/courseware/course_about.html b/edx-platform/pearson-pathways-theme/lms/templates/courseware/course_about.html index 8c1ebd83..a919377f 100644 --- a/edx-platform/pearson-pathways-theme/lms/templates/courseware/course_about.html +++ b/edx-platform/pearson-pathways-theme/lms/templates/courseware/course_about.html @@ -217,21 +217,44 @@
${_("Prerequisites")}
- ## Multiple pre-requisite courses are not supported on frontend that's why we are pulling first element - ${pre_requisite_courses[0]['display']} -- ${Text(_("You must successfully complete {link_start}{prc_display}{link_end} before you begin this course.")).format( - link_start=HTML('').format(prc_target), - link_end=HTML(''), - prc_display=pre_requisite_courses[0]['display'], - )} -
-${_("Prerequisites")}
+ ## Multiple pre-requisite courses are not supported on frontend that's why we are pulling first element + + + ${course_requirements['display']} + + ++ ${Text(_("You must successfully complete {link_start}{prc_display}{link_end} before you begin this course.")).format( + link_start=HTML('').format( + ecommerce_payment_page=ecommerce_payment_page, + student_not_enrollment_in_requirement=student_not_enrollment_in_requirement, + ), + link_end=HTML(''), + prc_display=course_requirements['display'], + )} +
+${_("Prerequisites")}
+ ## Multiple pre-requisite courses are not supported on frontend that's why we are pulling first element + ${course_requirements['display']} ++ ${Text(_("You must successfully complete {link_start}{prc_display}{link_end} before you begin this course.")).format( + link_start=HTML('').format(prc_target), + link_end=HTML(''), + prc_display=course_requirements['display'], + )} +
++ ${Text(_("You must successfully complete {link_start}{prc_display}{link_end} before you begin this course.")).format( + link_start=HTML('').format( + ecommerce_payment_page=ecommerce_payment_page, + student_not_enrollment_in_requirement=student_not_enrollment_in_requirement, + ), + link_end=HTML(''), + prc_display=course_requirements['courses'][0]['display'], + )} +
%else: ## Multiple pre-requisite courses are not supported on frontend that's why we are pulling first element