## mako <%page expression_filter="h"/> <%! main_css = "style-main-v2" %> <%inherit file="../main.html" /> <%namespace name='static' file='../static_content.html'/> <%def name="online_help_token()"><% return "courseware" %> <%def name="course_name()"> <% return _("{course_number} Courseware").format(course_number=course.display_number_with_default) %> <%! import json from django.utils.translation import ugettext as _ from openedx.core.djangolib.markup import HTML from openedx.features.course_experience import course_home_page_title %> <%block name="bodyclass">course <%block name="pagetitle">${course_name()} <%include file="../courseware/course_navigation.html" args="active_page='learner_analytics'" /> <%block name="content">
% if has_access: ${static.renderReact( component="LearnerAnalyticsDashboard", id="react-learner-analytics-dashboard", props={ 'schedule': assignment_schedule, 'schedule_raw': assignment_schedule_raw, 'grading_policy': grading_policy, 'grades': assignment_grades, 'discussion_info': discussion_info, 'weekly_active_users': weekly_active_users, 'week_streak': week_streak, 'profile_images': profile_image_urls, 'passing_grade': passing_grade, 'percent_grade': percent_grade, } )} % else: ## TODO: LEARNER-3854: Clean-up after Learner Analytics test. ## If we move forward with this, the upsell information should ## be added here. Page is not available. % endif
<%namespace name='static' file='../static_content.html'/>