Commit 4fb8697d by Giulio Gratta

rename Open Ended Panel tab and make it available to staff

parent 828097c7
......@@ -176,7 +176,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 = "Hide Tab"
tab_name = "Grading Panel"
notifications = open_ended_notifications.combined_notifications(course, user)
pending_grading = notifications['pending_grading']
......
......@@ -17,7 +17,7 @@ def url_class(is_active):
<div class="inner-wrapper">
<ol class="course-tabs">
% for tab in get_course_tabs(user, course, active_page):
% if tab.name != "Hide Tab":
% if tab.name != "Grading Panel" or staff_access:
<li>
<a href="${tab.link | h}" class="${url_class(tab.is_active)}">
${tab.name | h}
......
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