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
352ca49c
Commit
352ca49c
authored
Apr 15, 2014
by
Sarina Canelake
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3362 from edx/sarina/fix_batch_enrollment_emails
Fix batch enrollment box email sending
parents
510889e2
3ba143eb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
lms/static/coffee/src/instructor_dashboard/membership.coffee
+2
-2
lms/templates/instructor/instructor_dashboard_2/membership.html
+1
-1
No files found.
lms/static/coffee/src/instructor_dashboard/membership.coffee
View file @
352ca49c
...
@@ -180,7 +180,7 @@ class BetaTesterBulkAddition
...
@@ -180,7 +180,7 @@ class BetaTesterBulkAddition
# gather elements
# gather elements
@
$emails_input
=
@
$container
.
find
(
"textarea[name='student-emails-for-beta']"
)
@
$emails_input
=
@
$container
.
find
(
"textarea[name='student-emails-for-beta']"
)
@
$btn_beta_testers
=
@
$container
.
find
(
"input[name='beta-testers']"
)
@
$btn_beta_testers
=
@
$container
.
find
(
"input[name='beta-testers']"
)
@
$checkbox_emailstudents
=
@
$container
.
find
(
"input[name='email-students']"
)
@
$checkbox_emailstudents
=
@
$container
.
find
(
"input[name='email-students
-beta
']"
)
@
$task_response
=
@
$container
.
find
(
".request-response"
)
@
$task_response
=
@
$container
.
find
(
".request-response"
)
@
$request_response_error
=
@
$container
.
find
(
".request-response-error"
)
@
$request_response_error
=
@
$container
.
find
(
".request-response-error"
)
...
@@ -268,7 +268,7 @@ class BatchEnrollment
...
@@ -268,7 +268,7 @@ class BatchEnrollment
# attach click handler for enrollment buttons
# attach click handler for enrollment buttons
@
$enrollment_button
.
click
=>
@
$enrollment_button
.
click
=>
emailStudents
:
@
$checkbox_emailstudents
.
is
(
':checked'
)
emailStudents
=
@
$checkbox_emailstudents
.
is
(
':checked'
)
send_data
=
send_data
=
action
:
$
(
event
.
target
).
data
(
'action'
)
# 'enroll' or 'unenroll'
action
:
$
(
event
.
target
).
data
(
'action'
)
# 'enroll' or 'unenroll'
emails
:
@
$emails_input
.
val
()
emails
:
@
$emails_input
.
val
()
...
...
lms/templates/instructor/instructor_dashboard_2/membership.html
View file @
352ca49c
...
@@ -81,7 +81,7 @@
...
@@ -81,7 +81,7 @@
</p>
</p>
<div
class=
"enroll-option"
>
<div
class=
"enroll-option"
>
<input
type=
"checkbox"
name=
"email-students"
value=
"Notify-students-by-email"
checked=
"yes"
>
<input
type=
"checkbox"
name=
"email-students
-beta
"
value=
"Notify-students-by-email"
checked=
"yes"
>
<label
for=
"email-students-beta"
>
${_("Notify users by email")}
</label>
<label
for=
"email-students-beta"
>
${_("Notify users by email")}
</label>
<div
class=
"hint email-students-beta-hint"
>
<div
class=
"hint email-students-beta-hint"
>
<span
class=
"hint-caret"
></span>
<span
class=
"hint-caret"
></span>
...
...
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