This is part 2 of a multiple PR to escape edx-platform templates to prevent xss attack. PROD-465
31 lines
872 B
HTML
31 lines
872 B
HTML
<%page expression_filter="h"/>
|
|
<%!
|
|
from django.utils.translation import ugettext as _
|
|
from openedx.core.djangolib.js_utils import js_escaped_string
|
|
%>
|
|
|
|
<%namespace name='static' file='../static_content.html'/>
|
|
|
|
<%inherit file="../main.html" />
|
|
|
|
<%block name="js_extra">
|
|
<%static:require_module module_name="support/js/enrollment_factory" class_name="EnrollmentFactory">
|
|
new EnrollmentFactory({
|
|
user: '${username | n, js_escaped_string}',
|
|
enrollmentsUrl: '${enrollmentsUrl | n, js_escaped_string}',
|
|
enrollmentSupportUrl: '${enrollmentSupportUrl | n, js_escaped_string}',
|
|
});
|
|
</%static:require_module>
|
|
</%block>
|
|
|
|
<%block name="pagetitle">
|
|
${_("Enrollment")}
|
|
</%block>
|
|
|
|
<%block name="content">
|
|
<section class="container outside-app">
|
|
<h1>${_("Student Support: Enrollment")}</h1>
|
|
<div class="enrollment-content"></div>
|
|
</section>
|
|
</%block>
|