diff --git a/common/djangoapps/student/tests/test_credit.py b/common/djangoapps/student/tests/test_credit.py index 054aafed25..7e571b592b 100644 --- a/common/djangoapps/student/tests/test_credit.py +++ b/common/djangoapps/student/tests/test_credit.py @@ -116,9 +116,8 @@ class CreditCourseDashboardTest(ModuleStoreTestCase): self._make_eligible() self._purchase_credit() - # Expect that the user's status is "pending" response = self._load_dashboard() - self.assertContains(response, "credit-request-pending-msg") + self.assertContains(response, "credit-request-not-started-msg") def test_purchased_credit_and_request_pending(self): # Simulate that the user has purchased credit and initiated a request, diff --git a/lms/templates/dashboard/_dashboard_credit_info.html b/lms/templates/dashboard/_dashboard_credit_info.html index 07d31c5b23..4e0c3ad7e7 100644 --- a/lms/templates/dashboard/_dashboard_credit_info.html +++ b/lms/templates/dashboard/_dashboard_credit_info.html @@ -13,9 +13,6 @@ error = credit_status['error'] - - status = 'eligible' - # Translators: provider_name is the name of a credit provider or university (e.g. State University) credit_msg = _("You have completed this course and are eligible to purchase course credit. Select Get Credit to get started.") credit_msg_class = "credit-eligibility-msg" @@ -35,7 +32,7 @@ "at the {link_to_provider_site} website. Select Request Credit to get started.").format( link_to_provider_site=provider_link, ) - credit_msg_class = "credit-request-pending-msg" + credit_msg_class = "credit-request-not-started-msg" credit_btn_label = _("Request Credit") credit_btn_class = 'pending-credit-btn' elif request_status == 'pending': @@ -77,7 +74,7 @@

% if credit_btn_label: - + ${credit_btn_label} % endif