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
01f1c3a1
Commit
01f1c3a1
authored
Nov 04, 2015
by
Peter Pinch
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #10478 from mitocw/enhancement/aq/disable_auto_enrol_ccx
Disabled auto enroll in ccx coach's enrollment tab
parents
5bd6e829
1f60e969
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
lms/djangoapps/ccx/views.py
+1
-1
lms/templates/ccx/enrollment.html
+1
-1
No files found.
lms/djangoapps/ccx/views.py
View file @
01f1c3a1
...
...
@@ -420,7 +420,7 @@ def ccx_invite(request, course, ccx=None):
action
=
request
.
POST
.
get
(
'enrollment-button'
)
identifiers_raw
=
request
.
POST
.
get
(
'student-ids'
)
identifiers
=
_split_input_list
(
identifiers_raw
)
auto_enroll
=
True
if
'auto-enroll'
in
request
.
POST
else
False
auto_enroll
=
True
email_students
=
True
if
'email-students'
in
request
.
POST
else
False
for
identifier
in
identifiers
:
user
=
None
...
...
lms/templates/ccx/enrollment.html
View file @
01f1c3a1
...
...
@@ -13,7 +13,7 @@
<div
class=
"enroll-option"
>
<input
type=
"checkbox"
name=
"auto-enroll"
id=
"auto-enroll"
value=
"Auto-Enroll"
checked=
"yes"
aria-describedby=
"auto-enroll-helper"
>
<input
type=
"checkbox"
name=
"auto-enroll"
id=
"auto-enroll"
value=
"Auto-Enroll"
checked=
"yes"
aria-describedby=
"auto-enroll-helper"
disabled
>
<label
style=
"display:inline"
for=
"auto-enroll"
>
${_("Auto Enroll")}
</label>
<div
class=
"hint auto-enroll-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