Highlight the correct tab
This commit is contained in:
@@ -141,7 +141,7 @@ def _combined_open_ended_grading(tab, user, course, active_page):
|
||||
pending_grading = notifications['pending_grading']
|
||||
img_path = notifications['img_path']
|
||||
|
||||
tab = [CourseTab(tab_name, link, active_page == "controller_query", pending_grading, img_path)]
|
||||
tab = [CourseTab(tab_name, link, active_page == "open_ended", pending_grading, img_path)]
|
||||
return tab
|
||||
return []
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
<%block name="title"><title>${course.number} Combined Notifications</title></%block>
|
||||
|
||||
<%include file="/courseware/course_navigation.html" args="active_page='combined_notifications'" />
|
||||
<%include file="/courseware/course_navigation.html" args="active_page='open_ended'" />
|
||||
|
||||
|
||||
<section class="container">
|
||||
|
||||
Reference in New Issue
Block a user