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
3ba143eb
Commit
3ba143eb
authored
Apr 15, 2014
by
Sarina Canelake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix batch enrollment box email sending
parent
f1eefc11
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 @
3ba143eb
...
...
@@ -180,7 +180,7 @@ class BetaTesterBulkAddition
# gather elements
@
$emails_input
=
@
$container
.
find
(
"textarea[name='student-emails-for-beta']"
)
@
$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"
)
@
$request_response_error
=
@
$container
.
find
(
".request-response-error"
)
...
...
@@ -268,7 +268,7 @@ class BatchEnrollment
# attach click handler for enrollment buttons
@
$enrollment_button
.
click
=>
emailStudents
:
@
$checkbox_emailstudents
.
is
(
':checked'
)
emailStudents
=
@
$checkbox_emailstudents
.
is
(
':checked'
)
send_data
=
action
:
$
(
event
.
target
).
data
(
'action'
)
# 'enroll' or 'unenroll'
emails
:
@
$emails_input
.
val
()
...
...
lms/templates/instructor/instructor_dashboard_2/membership.html
View file @
3ba143eb
...
...
@@ -81,7 +81,7 @@
</p>
<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>
<div
class=
"hint email-students-beta-hint"
>
<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