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
78f9f634
Commit
78f9f634
authored
Jan 31, 2013
by
Vik Paruchuri
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add in notification type for flagged submissions
parent
b0e46085
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
lms/djangoapps/open_ended_grading/open_ended_notifications.py
+2
-1
lms/djangoapps/open_ended_grading/views.py
+4
-2
No files found.
lms/djangoapps/open_ended_grading/open_ended_notifications.py
View file @
78f9f634
...
...
@@ -19,7 +19,8 @@ KEY_PREFIX = "open_ended_"
NOTIFICATION_TYPES
=
(
(
'student_needs_to_peer_grade'
,
'peer_grading'
,
'Peer Grading'
),
(
'staff_needs_to_grade'
,
'staff_grading'
,
'Staff Grading'
),
(
'new_student_grading_to_view'
,
'open_ended_problems'
,
'Problems you have submitted'
)
(
'new_student_grading_to_view'
,
'open_ended_problems'
,
'Problems you have submitted'
),
(
'flagged_submissions_exist'
,
'open_ended_flagged_problems'
,
'Flagged Submissions'
)
)
def
staff_grading_notifications
(
course
,
user
):
...
...
lms/djangoapps/open_ended_grading/views.py
View file @
78f9f634
...
...
@@ -56,12 +56,14 @@ def _reverse_without_slash(url_name, course_id):
DESCRIPTION_DICT
=
{
'Peer Grading'
:
"View all problems that require peer assessment in this particular course."
,
'Staff Grading'
:
"View ungraded submissions submitted by students for the open ended problems in the course."
,
'Problems you have submitted'
:
"View open ended problems that you have previously submitted for grading."
'Problems you have submitted'
:
"View open ended problems that you have previously submitted for grading."
,
'Flagged Submissions'
:
"View submissions that have been flagged by students as inappropriate."
}
ALERT_DICT
=
{
'Peer Grading'
:
"New submissions to grade"
,
'Staff Grading'
:
"New submissions to grade"
,
'Problems you have submitted'
:
"New grades have been returned"
'Problems you have submitted'
:
"New grades have been returned"
,
'Flagged Submissions'
:
"Submissions have been flagged for review"
}
@cache_control
(
no_cache
=
True
,
no_store
=
True
,
must_revalidate
=
True
)
def
staff_grading
(
request
,
course_id
):
...
...
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