Commit d7484c5e by Victor Shnayder

Merge pull request #1423 from MITx/feature/jth/remove_un-enroll_all

removed un-enroll all button for fear of disaster
parents a018b8ac 6b8edde6
......@@ -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', '')
......
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment