26 lines
696 B
HTML
26 lines
696 B
HTML
<%page expression_filter="h"/>
|
|
<%! from openedx.core.djangolib.markup import HTML %>
|
|
%if unit_title:
|
|
<h2 class="hd hd-2 unit-title">${unit_title}</h2>
|
|
% endif
|
|
|
|
% if show_bookmark_button:
|
|
<%include file='bookmark_button.html' args="bookmark_id=bookmark_id, is_bookmarked=bookmarked"/>
|
|
% endif
|
|
|
|
<div class="vert-mod" \
|
|
% if completion_delay_ms is not None:
|
|
data-completion-delay-ms="${completion_delay_ms}" \
|
|
% endif
|
|
>
|
|
% for idx, item in enumerate(items):
|
|
<div class="vert vert-${idx}" data-id="${item['id']}" \
|
|
% if item['id'] in watched_completable_blocks:
|
|
data-completable-by-viewing=True \
|
|
% endif
|
|
>
|
|
${HTML(item['content'])}
|
|
</div>
|
|
% endfor
|
|
</div>
|