Files
edx-platform/lms/templates/vert_module.html
Adam Butterworth 53c1d2a0da Hide display titles for vertical blocks embedded in microfrontends (#23006)
Relates to TNL-7048. Since bookmarking is handled in the courseware microfrontend, it needs to also manage the display of a unit title.
2020-02-10 13:32:08 -05:00

21 lines
525 B
HTML

<%page expression_filter="h"/>
<%! from openedx.core.djangolib.markup import HTML %>
%if unit_title and show_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">
% for idx, item in enumerate(items):
% if item['content']:
<div class="vert vert-${idx}" data-id="${item['id']}">
${HTML(item['content'])}
</div>
%endif
% endfor
</div>