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
5bfa313d
Commit
5bfa313d
authored
Sep 18, 2014
by
Brandon DeRosier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unimplemented grade_summary feature.
parent
6325206d
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
35 deletions
+0
-35
lms/djangoapps/instructor/views/legacy.py
+0
-12
lms/templates/courseware/grade_summary.html
+0
-17
lms/templates/courseware/instructor_dashboard.html
+0
-4
lms/urls.py
+0
-2
No files found.
lms/djangoapps/instructor/views/legacy.py
View file @
5bfa313d
...
@@ -1427,18 +1427,6 @@ def get_student_grade_summary_data(request, course, get_grades=True, get_raw_sco
...
@@ -1427,18 +1427,6 @@ def get_student_grade_summary_data(request, course, get_grades=True, get_raw_sco
# Gradebook has moved to instructor.api.spoc_gradebook #
# Gradebook has moved to instructor.api.spoc_gradebook #
@cache_control
(
no_cache
=
True
,
no_store
=
True
,
must_revalidate
=
True
)
def
grade_summary
(
request
,
course_key
):
"""Display the grade summary for a course."""
course
=
get_course_with_access
(
request
.
user
,
'staff'
,
course_key
)
# For now, just a page
context
=
{
'course'
:
course
,
'staff_access'
:
True
,
}
return
render_to_response
(
'courseware/grade_summary.html'
,
context
)
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
# enrollment
# enrollment
...
...
lms/templates/courseware/grade_summary.html
deleted
100644 → 0
View file @
6325206d
<
%!
from
django
.
utils
.
translation
import
ugettext
as
_
%
>
<
%
inherit
file=
"/main.html"
/>
<
%!
from
django
.
core
.
urlresolvers
import
reverse
%
>
<
%
namespace
name=
'static'
file=
'/static_content.html'
/>
<
%
include
file=
"/courseware/course_navigation.html"
args=
"active_page=''"
/>
<section
class=
"container"
>
<div
class=
"gradebook-summary-wrapper"
>
<section
class=
"gradebook-summary-content"
>
<h1>
${_("Grade summary")}
</h1>
<p>
${_("Not implemented yet")}
</p>
</section>
</div>
</section>
lms/templates/courseware/instructor_dashboard.html
View file @
5bfa313d
...
@@ -208,10 +208,6 @@ function goto( mode)
...
@@ -208,10 +208,6 @@ function goto( mode)
</p>
</p>
<p>
<p>
<a
href=
"${reverse('grade_summary_legacy', kwargs=dict(course_id=course.id.to_deprecated_string()))}"
class=
"${'is-disabled' if disable_buttons else ''}"
>
${_("Grade summary")}
</a>
</p>
<p>
<input
type=
"submit"
name=
"action"
value=
"Dump list of enrolled students"
class=
"${'is-disabled' if disable_buttons else ''}"
>
<input
type=
"submit"
name=
"action"
value=
"Dump list of enrolled students"
class=
"${'is-disabled' if disable_buttons else ''}"
>
</p>
</p>
...
...
lms/urls.py
View file @
5bfa313d
...
@@ -403,8 +403,6 @@ if settings.COURSEWARE_ENABLED:
...
@@ -403,8 +403,6 @@ if settings.COURSEWARE_ENABLED:
if
settings
.
COURSEWARE_ENABLED
and
settings
.
FEATURES
.
get
(
'ENABLE_INSTRUCTOR_LEGACY_DASHBOARD'
):
if
settings
.
COURSEWARE_ENABLED
and
settings
.
FEATURES
.
get
(
'ENABLE_INSTRUCTOR_LEGACY_DASHBOARD'
):
urlpatterns
+=
(
urlpatterns
+=
(
url
(
r'^courses/{}/legacy_grade_summary$'
.
format
(
settings
.
COURSE_ID_PATTERN
),
'instructor.views.legacy.grade_summary'
,
name
=
'grade_summary_legacy'
),
url
(
r'^courses/{}/legacy_instructor_dash$'
.
format
(
settings
.
COURSE_ID_PATTERN
),
url
(
r'^courses/{}/legacy_instructor_dash$'
.
format
(
settings
.
COURSE_ID_PATTERN
),
'instructor.views.legacy.instructor_dashboard'
,
name
=
"instructor_dashboard_legacy"
),
'instructor.views.legacy.instructor_dashboard'
,
name
=
"instructor_dashboard_legacy"
),
)
)
...
...
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