Allows support staff or global staff to view a list of a learner's enrollments, and change enrollment modes. We generate a ManualEnrollmentAudit record for these enrollment changes in order to track updates. Additionally, enrollment changes are handled through the enrollment API, which handles bookkeeping such as granting refunds where appropriate. ECOM-2825
31 lines
818 B
HTML
31 lines
818 B
HTML
<%!
|
|
from django.utils.translation import ugettext as _
|
|
|
|
from openedx.core.lib.js_utils import escape_json_dumps
|
|
%>
|
|
|
|
<%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: ${escape_json_dumps(username)},
|
|
enrollmentsUrl: ${escape_json_dumps(enrollmentsUrl)},
|
|
enrollmentSupportUrl: ${escape_json_dumps(enrollmentSupportUrl)},
|
|
});
|
|
</%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>
|