Add chapter index to dom
This commit is contained in:
@@ -176,7 +176,7 @@ ${HTML(fragment.foot_html())}
|
||||
<span class="icon fa fa-angle-right" aria-hidden="true"></span>
|
||||
% endif
|
||||
% if chapter:
|
||||
<span class="nav-item nav-item-chapter">
|
||||
<span class="nav-item nav-item-chapter" data-course-position="${course.position}" data-chapter-position="${chapter.position}">
|
||||
<a href="${course_url}#${unicode(chapter.location)}">${chapter.display_name_with_default}</a>
|
||||
</span>
|
||||
<span class="icon fa fa-angle-right" aria-hidden="true"></span>
|
||||
|
||||
Reference in New Issue
Block a user