{% extends "courses/base-course.html" %} {% load i18n %} {% load staticfiles %} {% load waffle_tags %} {% load dashboard_extras %} {% load render_bundle from webpack_loader %} {% comment %} Individual course-centric engagement content view. {% endcomment %} {% block view-name %}view-course-engagement view-dashboard{% endblock view-name %} {% block javascript %} {{ block.super }} {% render_bundle 'engagement-content-main' %} {% endblock javascript %} {% block child_content %}

{% trans "Learner Activity Metrics" %}

{% if summary %}
{% trans "Active Learners Last Week" as label %} {% trans "Learners who visited at least one page in the course content." as tooltip %} {% summary_point summary.any label tooltip=tooltip additional_value=summary.any_percent_str %}
{# Translators: This is a label indicating the number of learners who watched a video. #} {% trans "Watched a Video Last Week" as label %} {% trans "Learners who played one or more videos." as tooltip %} {% summary_point summary.played_video label tooltip=tooltip additional_value=summary.played_video_percent_str %}
{# Translators: This is a label indicating the number of learners who tried a problem. #} {% trans "Tried a Problem Last Week" as label %} {% trans "Learners who submitted an answer for a standard problem. Not all problem types are included." as tooltip %} {% summary_point summary.attempted_problem label tooltip=tooltip additional_value=summary.attempted_problem_percent_str %}
{% switch show_engagement_forum_activity %}
{# Translators: This is a label indicating the number of learners who posted in a forum discussion. #} {% trans "Participated in Discussions Last Week" as label %} {% trans "Learners who added a post, response, or comment to any course discussion." as tooltip %} {% summary_point summary.posted_forum label tooltip=tooltip additional_value=summary.posted_forum_percent_str %}
{% endswitch %}
{% else %} {% show_metrics_error %} {% endif %}

{% trans "Content Engagement Breakdown" %}

{% if js_data.course.engagementTrends %} {% trans "Download CSV" %} {% trans "Content Engagement Breakdown" %} {% endif %}
{% if js_data.course.engagementTrends %}
{% include "loading.html" %}
{% else %} {% show_table_error %} {% endif %}
{% endblock %}