From c8b2863a4627b7d581c4d180fc36cb4f32123dbf Mon Sep 17 00:00:00 2001 From: David Adams Date: Thu, 29 Aug 2013 15:27:30 -0700 Subject: [PATCH] Slightly change email registration template Added some text to guide the student to register with a particular email address. This is the one that was entered into the enrollment/invitation form by the instructor. Modified the template and associated test. --- lms/djangoapps/instructor/tests/test_legacy_enrollment.py | 2 +- lms/templates/emails/enroll_email_allowedmessage.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lms/djangoapps/instructor/tests/test_legacy_enrollment.py b/lms/djangoapps/instructor/tests/test_legacy_enrollment.py index 4c1c252891..09395288c4 100644 --- a/lms/djangoapps/instructor/tests/test_legacy_enrollment.py +++ b/lms/djangoapps/instructor/tests/test_legacy_enrollment.py @@ -217,7 +217,7 @@ class TestInstructorEnrollsStudent(ModuleStoreTestCase, LoginEnrollmentTestCase) self.assertEqual(mail.outbox[1].subject, 'You have been invited to register for MITx/999/Robot_Super_Course') self.assertEqual(mail.outbox[1].body, "Dear student,\n\nYou have been invited to join MITx/999/Robot_Super_Course at edx.org by a member of the course staff.\n\n" + - "To finish your registration, please visit https://edx.org/register and fill out the registration form.\n" + + "To finish your registration, please visit https://edx.org/register and fill out the registration form making sure to use student3_1@test.com in the E-mail field.\n" + "Once you have registered and activated your account, you will see MITx/999/Robot_Super_Course listed on your dashboard.\n\n" + "----\nThis email was automatically sent from edx.org to student3_1@test.com") diff --git a/lms/templates/emails/enroll_email_allowedmessage.txt b/lms/templates/emails/enroll_email_allowedmessage.txt index eab347166e..b7d65f0f2c 100644 --- a/lms/templates/emails/enroll_email_allowedmessage.txt +++ b/lms/templates/emails/enroll_email_allowedmessage.txt @@ -2,7 +2,7 @@ Dear student, You have been invited to join ${course_id} at ${site_name} by a member of the course staff. -To finish your registration, please visit ${registration_url} and fill out the registration form. +To finish your registration, please visit ${registration_url} and fill out the registration form making sure to use ${email_address} in the E-mail field. % if auto_enroll: Once you have registered and activated your account, you will see ${course_id} listed on your dashboard. % else: