Commit 5c64b239 by Giulio Gratta

Merge pull request #97 from Stanford-Online/giulio/beta-tester-email-fork

send beta testers to dashboard
parents 74f48635 85e3233b
...@@ -950,11 +950,10 @@ class TestInstructorAPIBulkBetaEnrollment(ModuleStoreTestCase, LoginEnrollmentTe ...@@ -950,11 +950,10 @@ class TestInstructorAPIBulkBetaEnrollment(ModuleStoreTestCase, LoginEnrollmentTe
u"Dear {student_name}\n\nYou have been invited to be a beta tester " u"Dear {student_name}\n\nYou have been invited to be a beta tester "
"for Robot Super Course at edx.org by a member of the course staff.\n\n" "for Robot Super Course at edx.org by a member of the course staff.\n\n"
"To start accessing course materials, please visit " "To start accessing course materials, please visit "
"{proto}://{site}{course_path}\n\n----\n" "https://{site}/dashboard\n\n----\n"
"This email was automatically sent from edx.org to {student_email}".format( "This email was automatically sent from edx.org to {student_email}".format(
student_name=self.notenrolled_student.profile.name, student_name=self.notenrolled_student.profile.name,
student_email=self.notenrolled_student.email, student_email=self.notenrolled_student.email,
proto=protocol,
site=self.site_name, site=self.site_name,
course_path=self.course_path course_path=self.course_path
) )
......
...@@ -9,8 +9,8 @@ ${_("You have been invited to be a beta tester for {course_name} at {site_name} ...@@ -9,8 +9,8 @@ ${_("You have been invited to be a beta tester for {course_name} at {site_name}
)} )}
% if auto_enroll: % if auto_enroll:
${_("To start accessing course materials, please visit {course_url}").format( ${_("To start accessing course materials, please visit https://{site_name}/dashboard").format(
course_url=course_url site_name=site_name
)} )}
% elif course_about_url is not None: % elif course_about_url is not None:
${_("Visit {course_about_url} to join the course and begin the beta test.").format(course_about_url=course_about_url)} ${_("Visit {course_about_url} to join the course and begin the beta test.").format(course_about_url=course_about_url)}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment