diff --git a/course/grades.py b/course/grades.py index a7e00c38faaf6815b2a154a4483779cb75f8a511..544c5238c83dd42ef56ff25df989436a047c0df5 100644 --- a/course/grades.py +++ b/course/grades.py @@ -738,7 +738,7 @@ def view_single_grade(pctx, participation_id, opportunity_id): "state_machine": state_machine, "flow_sessions": flow_sessions, "allow_session_actions": allow_session_actions, - "show_page_grades": pctx.role in [ + "show_privileged_info": pctx.role in [ participation_role.instructor, participation_role.teaching_assistant ], diff --git a/course/templates/course/gradebook-single.html b/course/templates/course/gradebook-single.html index c9d864cabff68d0c5b540e46d2ada72e58001d90..c21b4c7b5c04f3a85a453ab329a17f70765aec6a 100644 --- a/course/templates/course/gradebook-single.html +++ b/course/templates/course/gradebook-single.html @@ -111,7 +111,7 @@
Notes: {{ flow_session.result_comment|linebreaks }} @@ -170,7 +170,7 @@ {% endif %} - {% if show_page_grades and flow_session.answer_visits %} + {% if show_privileged_info and flow_session.answer_visits %}