Files
edx-platform/lms/templates/studio_render_paged_children_view.html
Andy Armstrong 1689004189 Create a common paginated list view
TNL-2384

Refactored Studio's PagingView to use RequireJS Text and moved it
to common so that it can also be used by LMS.
2015-06-15 13:51:09 -04:00

25 lines
595 B
HTML

<%! from django.utils.translation import ugettext as _ %>
<%namespace name='static' file='static_content.html'/>
<div class="xblock-container-paging-parameters"
data-start="${first_displayed}"
data-displayed="${displayed_children}"
data-total="${total_children}"
data-previews="${'true' if previews else 'false'}"
></div>
<div class="container-paging-header"></div>
<div>
% for item in items:
${item['content']}
% endfor
</div>
% if can_add:
<div class="add-xblock-component new-component-item adding"></div>
% endif
<div class="container-paging-footer"></div>