Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
85e3233b
Commit
85e3233b
authored
Jul 31, 2014
by
Giulio Gratta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
send beta testers to dashboard
parent
d00d8198
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
lms/djangoapps/instructor/tests/test_api.py
+1
-2
lms/templates/emails/add_beta_tester_email_message.txt
+2
-2
No files found.
lms/djangoapps/instructor/tests/test_api.py
View file @
85e3233b
...
@@ -950,11 +950,10 @@ class TestInstructorAPIBulkBetaEnrollment(ModuleStoreTestCase, LoginEnrollmentTe
...
@@ -950,11 +950,10 @@ class TestInstructorAPIBulkBetaEnrollment(ModuleStoreTestCase, LoginEnrollmentTe
u"Dear {student_name}
\n\n
You have been invited to be a beta tester "
u"Dear {student_name}
\n\n
You 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
)
)
...
...
lms/templates/emails/add_beta_tester_email_message.txt
View file @
85e3233b
...
@@ -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)}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment