fix: get_doc references

This commit is contained in:
Jannat Patel
2022-02-10 09:53:08 +05:30
parent e17637d27b
commit fd5b7976e7
21 changed files with 334 additions and 286 deletions

View File

@@ -1,10 +1,10 @@
{% if course.get_chapters() | length %}
{% if get_chapters(course.name) | length %}
<div class="">
<div class="course-home-headings">
Course Outline
</div>
<div class="common-card-style course-outline">
{% for chapter in course.get_chapters() %}
{% for chapter in get_chapters(course.name) %}
{{ widgets.ChapterTeaser(index=loop.index, chapter=chapter, course=course, batch=batch, membership=membership) }}
{% endfor %}
</div>