Files
edx-platform/lms/templates/learner_dashboard/programs_fragment.html

33 lines
1.1 KiB
HTML

## mako
<%page expression_filter="h"/>
<%namespace name='static' file='../static_content.html'/>
<%!
from openedx.core.djangolib.js_utils import (
dump_js_escaped_json, js_escaped_string
)
%>
<div class="program-list-wrapper grid-container">
<div class="program-list-container col-12 col-md-9">
<div class="js-program-list-header"></div>
<div class="program-cards-container col"></div>
</div>
<div class="sidebar col-12 col-md-3"></div>
</div>
<%block name="js_extra">
<%static:webpack entry="ProgramListFactory">
ProgramListFactory({
marketingUrl: '${marketing_url | n, js_escaped_string}',
subscriptionsMarketingUrl: '${subscriptions_marketing_url | n, js_escaped_string}',
programsData: ${programs | n, dump_js_escaped_json},
programsSubscriptionData: ${programs_subscription_data | n, dump_js_escaped_json},
userProgress: ${progress | n, dump_js_escaped_json},
userPreferences: ${user_preferences | n, dump_js_escaped_json},
isUserB2CSubscriptionsEnabled: ${is_user_b2c_subscriptions_enabled | n, dump_js_escaped_json}
});
</%static:webpack>
</%block>