feat: course home

This commit is contained in:
pateljannat
2021-07-06 17:58:36 +05:30
parent 45d88bdc08
commit 5ea3b25d21
14 changed files with 1197 additions and 535 deletions

View File

@@ -1,10 +1,12 @@
{% if course.get_chapters() | length %}
<div class="">
<h3>
<div class="course-home-headings">
Course Outline
</h3>
</div>
<div class="coure-outline">
{% for chapter in course.get_chapters() %}
{{ widgets.ChapterTeaser(index=loop.index, chapter=chapter, course=course, batch=batch, show_link=show_link, show_progress=show_progress)}}
{{ widgets.ChapterTeaser(index=loop.index, chapter=chapter, course=course, batch=batch, show_link=show_link, show_progress=show_progress)}}
{% endfor %}
</div>
</div>
{% endif %}