Files
edx-platform/lms/templates/library-block-author-preview-header.html
Adeel Khan 30d8dfb5dd Fix edx-platform templates for xss.
This is part 2 of a multiple PR to escape
edx-platform templates to prevent xss attack.

PROD-465
2019-07-10 13:31:02 +05:00

16 lines
758 B
HTML

<%page expression_filter="h"/>
<%! from django.utils.translation import ungettext %>
<div class="wrapper-xblock-message">
<div class="xblock-message information">
<p>
<span class="message-text">
${ungettext(
'Showing all matching content eligible to be added into {display_name}. Each student will be assigned {max_count} component drawn randomly from this list.',
'Showing all matching content eligible to be added into {display_name}. Each student will be assigned {max_count} components drawn randomly from this list.',
max_count
).format(max_count=max_count, display_name=display_name)}
</span>
</p>
</div>
</div>