diff --git a/lms/djangoapps/courseware/tests/test_credit_requirements.py b/lms/djangoapps/courseware/tests/test_credit_requirements.py index fc2fd5b152..a0bcff6155 100644 --- a/lms/djangoapps/courseware/tests/test_credit_requirements.py +++ b/lms/djangoapps/courseware/tests/test_credit_requirements.py @@ -119,8 +119,8 @@ class ProgressPageCreditRequirementsTest(SharedModuleStoreTestCase): response, "{}, you have met the requirements for credit in this course.".format(self.USER_FULL_NAME) ) - self.assertContains(response, "Completed {date}".format(date=self._now_formatted_date())) - self.assertContains(response, "95%") + self.assertContains(response, "Completed by {date}".format(date=self._now_formatted_date())) + self.assertNotContains(response, "95%") def test_credit_requirements_not_eligible(self): # Mark the user as having failed both requirements diff --git a/lms/templates/courseware/progress.html b/lms/templates/courseware/progress.html index c520ea2642..8d765a36c4 100644 --- a/lms/templates/courseware/progress.html +++ b/lms/templates/courseware/progress.html @@ -139,11 +139,7 @@ from django.utils.http import urlquote_plus ${_("Verification Declined" )} %elif requirement['status'] == 'satisfied': - % if requirement['namespace'] == 'grade' and 'final_grade' in requirement['reason']: - ${int(requirement['reason']['final_grade'] * 100) | h}% - % else: - ${_("Completed")} ${get_time_display(requirement['status_date'], DEFAULT_SHORT_DATE_FORMAT, settings.TIME_ZONE)} - % endif + ${_("Completed by")} ${get_time_display(requirement['status_date'], DEFAULT_SHORT_DATE_FORMAT, settings.TIME_ZONE)} %endif %else: ${_("Upcoming")}