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
1251003d
Commit
1251003d
authored
Oct 01, 2013
by
Sarina Canelake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove enrollment from Student Admin page of new instructor dash
parent
d9f7f8cf
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
39 deletions
+3
-39
CHANGELOG.rst
+3
-0
lms/djangoapps/instructor/views/instructor_dashboard.py
+0
-1
lms/static/coffee/src/instructor_dashboard/student_admin.coffee
+0
-29
lms/templates/instructor/instructor_dashboard_2/student_admin.html
+0
-9
No files found.
CHANGELOG.rst
View file @
1251003d
...
...
@@ -14,6 +14,9 @@ editing capability for a course's list of tabs.
Studio and LMS: add ability to lock assets (cannot be viewed unless registered for class).
LMS: First round of improvements to New (beta) Instructor Dash:
improvements, fixes, and internationalization to the Student Info section.
LMS: Improved accessibility of parts of forum navigation sidebar.
LMS: enhanced accessibility labeling and aria support for the discussion forum new post dropdown as well as response and comment area labeling.
...
...
lms/djangoapps/instructor/views/instructor_dashboard.py
View file @
1251003d
...
...
@@ -121,7 +121,6 @@ def _section_student_admin(course_id, access):
'section_display_name'
:
_
(
'Student Admin'
),
'access'
:
access
,
'get_student_progress_url_url'
:
reverse
(
'get_student_progress_url'
,
kwargs
=
{
'course_id'
:
course_id
}),
'enrollment_url'
:
reverse
(
'students_update_enrollment'
,
kwargs
=
{
'course_id'
:
course_id
}),
'reset_student_attempts_url'
:
reverse
(
'reset_student_attempts'
,
kwargs
=
{
'course_id'
:
course_id
}),
'rescore_problem_url'
:
reverse
(
'rescore_problem'
,
kwargs
=
{
'course_id'
:
course_id
}),
'list_instructor_tasks_url'
:
reverse
(
'list_instructor_tasks'
,
kwargs
=
{
'course_id'
:
course_id
}),
...
...
lms/static/coffee/src/instructor_dashboard/student_admin.coffee
View file @
1251003d
...
...
@@ -79,8 +79,6 @@ class StudentAdmin
@
$progress_link
=
find_and_assert
@
$section
,
"a.progress-link"
@
$field_problem_select_single
=
find_and_assert
@
$section
,
"input[name='problem-select-single']"
@
$btn_reset_attempts_single
=
find_and_assert
@
$section
,
"input[name='reset-attempts-single']"
@
$btn_enroll
=
@
$section
.
find
"input[name='enroll']"
@
$btn_unenroll
=
@
$section
.
find
"input[name='unenroll']"
@
$btn_delete_state_single
=
@
$section
.
find
"input[name='delete-state-single']"
@
$btn_rescore_problem_single
=
@
$section
.
find
"input[name='rescore-problem-single']"
@
$btn_task_history_single
=
@
$section
.
find
"input[name='task-history-single']"
...
...
@@ -127,33 +125,6 @@ class StudentAdmin
window
.
location
=
data
.
progress_url
error
:
std_ajax_err
=>
@
$request_response_error_progress
.
text
full_error_message
# enroll student
@
$btn_enroll
.
click
=>
send_data
=
action
:
'enroll'
emails
:
@
$field_student_select_progress
.
val
()
auto_enroll
:
false
$
.
ajax
dataType
:
'json'
url
:
@
$btn_enroll
.
data
'endpoint'
data
:
send_data
success
:
@
clear_errors_then
->
console
.
log
"student
#{
send_data
.
emails
}
enrolled"
error
:
std_ajax_err
=>
@
$request_response_error_progress
.
text
gettext
(
"Error enrolling student '
#{
send_data
.
emails
}
'."
)
# unenroll student
@
$btn_unenroll
.
click
=>
send_data
=
action
:
'unenroll'
emails
:
@
$field_student_select_progress
.
val
()
$
.
ajax
dataType
:
'json'
url
:
@
$btn_unenroll
.
data
'endpoint'
data
:
send_data
success
:
@
clear_errors_then
->
console
.
log
"student
#{
send_data
.
emails
}
unenrolled"
error
:
std_ajax_err
=>
@
$request_response_error_progress
.
text
gettext
(
"Error unenrolling student '
#{
send_data
.
emails
}
'."
)
# reset attempts for student on problem
@
$btn_reset_attempts_single
.
click
=>
unique_student_identifier
=
@
$field_student_select_grade
.
val
()
...
...
lms/templates/instructor/instructor_dashboard_2/student_admin.html
View file @
1251003d
...
...
@@ -18,15 +18,6 @@
<a
href=
""
class=
"progress-link"
data-endpoint=
"${ section_data['get_student_progress_url_url'] }"
>
${_("Student Progress Page")}
</a>
</p>
</div>
<br>
<!-- These buttons don't appear to be working
<p>
${_("Click to enroll or unenroll this student from the course:")}
<input type="button" name="enroll" value="${_("Enroll")}" data-endpoint="${ section_data['enrollment_url'] }">
<input type="button" name="unenroll" value="${_("Unenroll")}" data-endpoint="${ section_data['enrollment_url'] }">
</p>
-->
<hr>
</div>
...
...
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