feat: lesson progress

This commit is contained in:
pateljannat
2021-06-02 13:52:50 +05:30
parent 9c65ff8ae6
commit 5fd1143f76
16 changed files with 210 additions and 5 deletions

View File

@@ -28,7 +28,7 @@
{{ widgets.BatchTabs(course=course, batch=batch) }}
<div class="lesson-page">
<h2>{{ lesson.title }}</h2>
<h2 class="title {% if course.is_mentor(frappe.session.user) %} is_mentor {% endif %}" data-name="{{ lesson.name }}">{{ lesson.title }}</h2>
{% for s in lesson.get_sections() %}
<div class="section section-{{ s.type }}">