diff --git a/lms/djangoapps/student_account/test/test_views.py b/lms/djangoapps/student_account/test/test_views.py index 585233cb93..43229700d6 100644 --- a/lms/djangoapps/student_account/test/test_views.py +++ b/lms/djangoapps/student_account/test/test_views.py @@ -100,7 +100,7 @@ class StudentAccountUpdateTest(UrlResetMixin, TestCase): follow=True ) self.assertEqual(response.status_code, 200) - self.assertContains(response, "Your password has been reset.") + self.assertContains(response, "Your password has been set.") # Log the user out to clear session data self.client.logout() @@ -116,7 +116,7 @@ class StudentAccountUpdateTest(UrlResetMixin, TestCase): follow=True ) self.assertEqual(response.status_code, 200) - self.assertContains(response, "This password reset link is invalid. It may have been used already.") + self.assertContains(response, "The password reset link was invalid, possibly because the link has already been used.") self.client.logout() diff --git a/lms/static/js/student_account/password_reset.js b/lms/static/js/student_account/password_reset.js deleted file mode 100644 index 9733909315..0000000000 --- a/lms/static/js/student_account/password_reset.js +++ /dev/null @@ -1,15 +0,0 @@ -/** - * Password reset template JS. - */ -$(function() { - 'use strict'; - // adding js class for styling with accessibility in mind - $("body").addClass("js"); - - // form field label styling on focus - $("form :input").focus(function() { - $("label[for='" + this.id + "']").parent().addClass("is-focused"); - }).blur(function() { - $("label").parent().removeClass("is-focused"); - }); -}); diff --git a/lms/templates/main_django.html b/lms/templates/main_django.html index 59c5e22078..89eb7f80c0 100644 --- a/lms/templates/main_django.html +++ b/lms/templates/main_django.html @@ -10,6 +10,8 @@ {% stylesheet 'style-vendor' %} {% stylesheet 'style-main' %} + {% stylesheet 'style-course-vendor' %} + {% stylesheet 'style-course' %} {% block main_vendor_js %} {% javascript 'main_vendor' %} diff --git a/lms/templates/registration/password_reset_complete.html b/lms/templates/registration/password_reset_complete.html index a5172e364c..908f2d610f 100644 --- a/lms/templates/registration/password_reset_complete.html +++ b/lms/templates/registration/password_reset_complete.html @@ -6,30 +6,49 @@ {% endblock %} {% block bodyextra %} - + {% endblock %} {% block bodyclass %}view-passwordreset{% endblock %} {% block body %} -