Unverified Commit e705ff09 by Michael Terry Committed by GitHub

Merge pull request #16924 from edx/mikix/LEARNER-3588

Show related programs on entitlements
parents d48a1d5f 7e01d66b
......@@ -172,7 +172,7 @@ from student.models import CourseEnrollment
is_course_blocked = (session_id in block_courses)
course_verification_status = verification_status_by_course.get(session_id, {})
course_requirements = courses_requirements_not_met.get(session_id)
related_programs = inverted_programs.get(unicode(session_id))
related_programs = inverted_programs.get(unicode(entitlement.course_uuid if entitlement else session_id))
show_consent_link = (session_id in consent_required_courses)
course_overview = enrollment.course_overview
%>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment