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
d7484c5e
Commit
d7484c5e
authored
Mar 05, 2013
by
Victor Shnayder
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1423 from MITx/feature/jth/remove_un-enroll_all
removed un-enroll all button for fear of disaster
parents
a018b8ac
6b8edde6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
6 deletions
+0
-6
lms/djangoapps/instructor/views.py
+0
-5
lms/templates/courseware/instructor_dashboard.html
+0
-1
No files found.
lms/djangoapps/instructor/views.py
View file @
d7484c5e
...
...
@@ -549,11 +549,6 @@ def instructor_dashboard(request, course_id):
msg
+=
"Error! Failed to un-enroll student with email '
%
s'
\n
"
%
student
msg
+=
str
(
err
)
+
'
\n
'
elif
action
==
'Un-enroll ALL students'
:
ret
=
_do_enroll_students
(
course
,
course_id
,
''
,
overload
=
True
)
datatable
=
ret
[
'datatable'
]
elif
action
==
'Enroll multiple students'
:
students
=
request
.
POST
.
get
(
'enroll_multiple'
,
''
)
...
...
lms/templates/courseware/instructor_dashboard.html
View file @
d7484c5e
...
...
@@ -246,7 +246,6 @@ function goto( mode)
<p>
Student Email:
<input
type=
"text"
name=
"enstudent"
>
<input
type=
"submit"
name=
"action"
value=
"Un-enroll student"
>
<input
type=
"submit"
name=
"action"
value=
"Enroll student"
>
<input
type=
"submit"
name=
"action"
value=
"Un-enroll ALL students"
>
<hr
width=
"40%"
style=
"align:left"
>
%if settings.MITX_FEATURES.get('REMOTE_GRADEBOOK_URL','') and instructor_access:
...
...
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