diff --git a/common/djangoapps/student/tests/tests.py b/common/djangoapps/student/tests/tests.py index 38e5084196..cb0b94a5ae 100644 --- a/common/djangoapps/student/tests/tests.py +++ b/common/djangoapps/student/tests/tests.py @@ -1155,5 +1155,5 @@ class DashboardTestXSeriesPrograms(ModuleStoreTestCase, ProgramsApiConfigMixin): self.assertContains(response, 'XSeries Program Course', count) self.assertContains(response, 'XSeries Program: Interested in more courses in this subject?', count) self.assertContains(response, 'This course is 1 of 3 courses in the', count) - self.assertContains(response, self.program_name, count) + self.assertContains(response, self.program_name, count * 2) self.assertContains(response, 'View XSeries Details', count) diff --git a/lms/templates/dashboard/_dashboard_course_listing.html b/lms/templates/dashboard/_dashboard_course_listing.html index 92ae61d505..38f503a101 100644 --- a/lms/templates/dashboard/_dashboard_course_listing.html +++ b/lms/templates/dashboard/_dashboard_course_listing.html @@ -358,6 +358,7 @@ from student.helpers import ( ${_("Upgrade to Verified")} +  ${_(course_overview.display_name_with_default)} diff --git a/lms/templates/dashboard/_dashboard_xseries_info.html b/lms/templates/dashboard/_dashboard_xseries_info.html index 76fd05715e..2a9533ff17 100644 --- a/lms/templates/dashboard/_dashboard_xseries_info.html +++ b/lms/templates/dashboard/_dashboard_xseries_info.html @@ -28,6 +28,7 @@ %> + ${program_data['display_name']} ${_("View {category} Details").format(category=display_category)}