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
5efa0c45
Commit
5efa0c45
authored
Sep 19, 2013
by
Julia Hansbrough
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://github.com/edx/edx-platform
parents
14eadb24
46fddc6d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
lms/djangoapps/open_ended_grading/open_ended_notifications.py
+3
-2
No files found.
lms/djangoapps/open_ended_grading/open_ended_notifications.py
View file @
5efa0c45
...
@@ -154,8 +154,9 @@ def combined_notifications(course, user):
...
@@ -154,8 +154,9 @@ def combined_notifications(course, user):
controller_response
=
controller_qs
.
check_combined_notifications
(
course
.
id
,
student_id
,
user_is_staff
,
controller_response
=
controller_qs
.
check_combined_notifications
(
course
.
id
,
student_id
,
user_is_staff
,
last_time_viewed
)
last_time_viewed
)
notifications
=
json
.
loads
(
controller_response
)
notifications
=
json
.
loads
(
controller_response
)
if
notifications
[
'success'
]:
if
notifications
.
get
(
'success'
):
if
notifications
[
'staff_needs_to_grade'
]
or
notifications
[
'student_needs_to_peer_grade'
]:
if
(
notifications
.
get
(
'staff_needs_to_grade'
)
or
notifications
.
get
(
'student_needs_to_peer_grade'
)):
pending_grading
=
True
pending_grading
=
True
except
:
except
:
#Non catastrophic error, so no real action
#Non catastrophic error, so no real action
...
...
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