Commit 301293f8 by Vik Paruchuri

Remove debug statement, fix active page issue on problem page

parent 7b1262f6
...@@ -120,8 +120,6 @@ def _peer_grading(tab, user, course, active_page): ...@@ -120,8 +120,6 @@ def _peer_grading(tab, user, course, active_page):
img_path= "" img_path= ""
try: try:
notifications = json.loads(peer_gs.get_notifications(course.id,unique_id_for_user(user))) notifications = json.loads(peer_gs.get_notifications(course.id,unique_id_for_user(user)))
log.debug(notifications)
if notifications['success']: if notifications['success']:
if notifications['student_needs_to_peer_grade']: if notifications['student_needs_to_peer_grade']:
pending_grading=True pending_grading=True
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<%block name="title"><title>${course.number} Peer Grading.</title></%block> <%block name="title"><title>${course.number} Peer Grading.</title></%block>
<%include file="/courseware/course_navigation.html" args="active_page='staff_grading'" /> <%include file="/courseware/course_navigation.html" args="active_page='peer_grading'" />
<%block name="js_extra"> <%block name="js_extra">
<%static:js group='peer_grading'/> <%static:js group='peer_grading'/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment