Add search component to entitlement support app, requires the addition of a Provider and store to the EntitlementSupportPage componenet and wraps search in a Main component to contain additional pieces of the page as added Learner-3925
35 lines
756 B
HTML
35 lines
756 B
HTML
<%page expression_filter="h"/>
|
|
|
|
<%!
|
|
from django.utils.translation import ugettext as _
|
|
from openedx.core.djangolib.js_utils import js_escaped_string
|
|
%>
|
|
|
|
## Override the default styles_version to use Bootstrap
|
|
<%! main_css = "css/bootstrap/lms-main.css" %>
|
|
|
|
<%namespace name='static' file='../static_content.html'/>
|
|
|
|
<%inherit file="../main.html" />
|
|
|
|
<%block name="js_extra">
|
|
</%block>
|
|
|
|
<%block name="pagetitle">
|
|
${_("Entitlements")}
|
|
</%block>
|
|
|
|
<%block name="content">
|
|
<section class="container outside-app">
|
|
${static.renderReact(
|
|
component="EntitlementSupportPage",
|
|
id="entitlement-support-page",
|
|
props={
|
|
'ecommerceUrl': ecommerce_url,
|
|
'supportActions': support_actions
|
|
}
|
|
)
|
|
}
|
|
</section>
|
|
</%block>
|