{{ course.name }}
{% if resume_lesson %} ▶ Resume: {{ resume_lesson.title }} {% endif %}
{{ stats.completed_lessons }}/{{ stats.total_lessons }} lessons completed
{{ "%.1f"|format(stats.completion_percentage) }}%
{% if stats.remaining_display %}
~{{ stats.remaining_display }} remaining
{% endif %}
{% if has_note %}
{{ icons.icon('file-text', 14) }} Download Study Guide
{% endif %}
{% endif %}
{% if stats.last_accessed_path %}
Last Accessed: {{ stats.last_accessed_path }}
Continue
{% endif %}
{% macro render_tree_node(node, depth=0) %}
{% set stats = section_stats(node) %}
{% if node.children or node.lessons %}
{% endmacro %}
{{ render_tree_node(course.root_node) }}
{{ node.name }}
{% if stats.total_lessons %}{{ stats.completed_lessons }}/{{ stats.total_lessons }} watched{% else %}Empty{% endif %}
{% if node.children or node.lessons %}
{% endif %}
{% for child_name, child_node in node.children.items() %}
{{ render_tree_node(child_node, depth + 1) }}
{% endfor %}
{% for lesson in node.lessons %}
{% set lesson_relative_path = lesson.path|replace('\\', '/')|replace(course.path|replace('\\', '/'), '')|replace('//', '/')|replace('/', '', 1) %}
{% set percent_watched = 100 if lesson.completed else (((100 * lesson.progress_seconds / lesson.duration_seconds)|round|int) if (lesson.duration_seconds and lesson.progress_seconds) else 0) %}
{% endfor %}
{% endif %}
{{ lesson.title }}
{% if percent_watched %}
{% endif %}
{% if view.has_thumbnail %}
{% else %}
{% endif %}
{{ view.lesson_title }}
{% if view.percent_watched %}
{% endif %}
{% if item.has_thumbnail %}
{% else %}
{% endif %}
{{ item.name }}
{{ icons.icon('grid') }}Your Courses
{{ icons.icon('bar-chart') }}Library Stats
{{ library_stats.total_courses }}
Courses
{{ library_stats.completed_lessons }}/{{ library_stats.lessons_tracked }}
Lessons completed
{{ library_stats.watched_display }}
Watched
{{ library_stats.remaining_display }}
Remaining
{{ library_stats.streak_days }}
Day streak
{% for week in activity_heatmap|batch(7) %}
{% for day in week %}
{% set level = 0 if day.count == 0 else (1 if day.count == 1 else (2 if day.count == 2 else 3)) %}
{% endfor %}
{% endfor %}
{{ icons.icon('star') }}Favorites
{% for item in favorites %}
{% endfor %}
{% if item.has_thumbnail %}
{% else %}
{% endif %}
{{ item.name }}
{{ icons.icon('list-dots') }}Next Up
{% for item in next_up %}
{% endfor %}
{% if item.has_thumbnail %}
{% else %}
{% endif %}
{{ item.name }}
{{ icons.icon('history') }}Pick Back Up
{% for item in stale_courses %}
{{ render_course_row(item, 'Last touched ' + item.last_touched_display) }}
{% endfor %}
{{ icons.icon('plus-circle') }}Recently Added
{% for item in recently_added %}
{{ render_course_row(item, item.added_display) }}
{% endfor %}
{{ icons.icon('play-circle') }}Recently Viewed
{% for view in recent_views %}
{{ render_view_row(view) }}
{% endfor %}