feat: pass username into CourseHomeMetadataView
Passes the request username into the course home metadata view so that masquerade functionality can be used with the proctoring info panel.
This commit is contained in:
@@ -85,7 +85,8 @@ from openedx.features.course_experience.course_tools import HttpMethod
|
||||
</div>
|
||||
<aside class="page-content-secondary course-sidebar">
|
||||
% if show_proctoring_info_panel:
|
||||
<div class="proctoring-info-panel" data-course-id="${course_key}"></div>
|
||||
<div class="proctoring-info-panel"
|
||||
data-course-id="${course_key}" data-username="${username}"></div>
|
||||
% endif
|
||||
% if has_goal_permission:
|
||||
<div class="section section-goals ${'' if current_goal else 'hidden'}">
|
||||
|
||||
Reference in New Issue
Block a user