diff --git a/lms/djangoapps/student_account/test/test_views.py b/lms/djangoapps/student_account/test/test_views.py
index 43229700d6..585233cb93 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 set.")
+ self.assertContains(response, "Your password has been reset.")
# 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, "The password reset link was invalid, possibly because the link has already been used.")
+ self.assertContains(response, "This password reset link is invalid. It may have been used already.")
self.client.logout()
diff --git a/lms/static/js/student_account/password_reset.js b/lms/static/js/student_account/password_reset.js
new file mode 100644
index 0000000000..9733909315
--- /dev/null
+++ b/lms/static/js/student_account/password_reset.js
@@ -0,0 +1,15 @@
+/**
+ * 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 89eb7f80c0..59c5e22078 100644
--- a/lms/templates/main_django.html
+++ b/lms/templates/main_django.html
@@ -10,8 +10,6 @@
{% 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 908f2d610f..a5172e364c 100644
--- a/lms/templates/registration/password_reset_complete.html
+++ b/lms/templates/registration/password_reset_complete.html
@@ -6,49 +6,30 @@
{% endblock %}
{% block bodyextra %}
-
+
{% endblock %}
{% block bodyclass %}view-passwordreset{% endblock %}
{% block body %}
-
-
-
-
- {% trans "Your Password Reset is Complete" %}
-
-
-
-
-
-
- {% block content %}
-
- {% blocktrans with link_start='' link_end='' %}
- Your password has been set. You may go ahead and {{ link_start }}log in{{ link_end }} now.
- {% endblocktrans %}
+
+
+
+
+
{% trans "Password Reset Complete" %}
+
+ {% blocktrans with link_start='' link_end='' %}
+ Your password has been reset. {{ link_start }}Sign in to your account.{{ link_end }}
+ {% endblocktrans %}
+