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
cf95f7fa
Commit
cf95f7fa
authored
Jul 12, 2013
by
Jason Bau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Open Ended Panel -> Assessment Panel
parent
cc65b8f9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
cms/djangoapps/contentstore/utils.py
+2
-1
lms/djangoapps/courseware/tabs.py
+1
-1
No files found.
cms/djangoapps/contentstore/utils.py
View file @
cf95f7fa
...
...
@@ -11,7 +11,8 @@ from xmodule.modulestore.draft import DIRECT_ONLY_CATEGORIES
log
=
logging
.
getLogger
(
__name__
)
# In order to instantiate an open ended tab automatically, need to have this data
OPEN_ENDED_PANEL
=
{
"name"
:
"Open Ended Panel"
,
"type"
:
"open_ended"
}
#OPEN_ENDED_PANEL = {"name": "Open Ended Panel", "type": "open_ended"}
OPEN_ENDED_PANEL
=
{
"name"
:
"Assessment Panel"
,
"type"
:
"open_ended"
}
NOTES_PANEL
=
{
"name"
:
"My Notes"
,
"type"
:
"notes"
}
EXTRA_TAB_PANELS
=
dict
([(
p
[
'type'
],
p
)
for
p
in
[
OPEN_ENDED_PANEL
,
NOTES_PANEL
]])
...
...
lms/djangoapps/courseware/tabs.py
View file @
cf95f7fa
...
...
@@ -169,7 +169,7 @@ def _combined_open_ended_grading(tab, user, course, active_page):
if
user
.
is_authenticated
():
link
=
reverse
(
'open_ended_notifications'
,
args
=
[
course
.
id
])
# tab_name = "Open Ended Panel"
tab_name
=
"
Grading
Panel"
tab_name
=
"
Assessment
Panel"
notifications
=
open_ended_notifications
.
combined_notifications
(
course
,
user
)
pending_grading
=
notifications
[
'pending_grading'
]
...
...
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