{% extends 'base.html' %} {% block title %}{{ topic.title }}{% endblock %} {% block content %}
{% set category_name = topic.category if topic.category is not none else "General" %} Back to {{ category_name }} Topics {{ category_name }}
{% set category_name = topic.category if topic.category is not none else "General" %}
{% if category_name == 'Conversation' %}
{% elif category_name == 'Grammar' %}
{% elif category_name == 'Vocabulary' %}
{% else %}
{% endif %}

{{ topic.title }}

Improve your English skills with this interactive lesson

{% if progress %} {% set completed_stages = 0 %} {% if progress.reading_completed %} {% set completed_stages = completed_stages + 1 %} {% endif %} {% if progress.speaking_completed %} {% set completed_stages = completed_stages + 1 %} {% endif %} {% if progress.comprehension_completed %} {% set completed_stages = completed_stages + 1 %} {% endif %} {% set total_stages = 3 %} {% set percent_complete = (completed_stages / total_stages) * 100 %}
Progress: {{ completed_stages }} of {{ total_stages }} stages complete {{ percent_complete|int }}%
{% endif %}

1
Reading

Read and understand the topic content

{% if progress and progress.reading_completed %}
Completed
{% elif progress and progress.reading_started %}
In Progress
{% else %}
Not Started
{% endif %}
{% if not progress or not progress.reading_completed %}

Complete Reading First

{% endif %}

2
Speaking

Practice your pronunciation and speaking skills

{% if progress and progress.speaking_completed %}
Completed
{% if progress.overall_speaking_score %}
Score: {{ progress.overall_speaking_score|round|int }}%
{% endif %} {% elif progress and progress.speaking_started %}
In Progress
{% else %}
Not Started
{% endif %}
{% if not progress or not progress.speaking_completed %}

Complete Speaking First

{% endif %}

3
Comprehension

Test your understanding of the topic

{% if progress and progress.comprehension_completed %}
Completed
{% if progress.comprehension_score %}
Score: {{ progress.comprehension_score|round|int }}%
{% endif %} {% elif progress and progress.comprehension_started %}
In Progress
{% else %}
Not Started
{% endif %}
{% if progress and progress.completed_at %}

Topic Mastered!

Congratulations on completing this topic. Continue exploring more topics to improve your skills.

{% endif %}
{% endblock %}