- ${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['courses'][0]['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'], + )} +
++ ${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['courses'][0]['display'], + )} +
+