Files
edx-platform/lms/templates/learner_dashboard/program_details.html
Renzo Lucioni a6b972549a Include raw program data on the detail page
Uses the view's ID argument to retrieve and drop unmodified programs API data on the details page. Future work will supplement with CourseOverviews data. Part of ECOM-4415.
2016-05-26 15:33:08 -04:00

27 lines
853 B
HTML

## Override the default styles_version to the Pattern Library version (version 2)
<%! main_css = "style-learner-dashboard" %>
<%page expression_filter="h"/>
<%inherit file="../main.html" />
<%namespace name='static' file='../static_content.html'/>
<%!
from django.utils.translation import ugettext as _
from openedx.core.djangolib.js_utils import (
dump_js_escaped_json, js_escaped_string
)
%>
<%block name="js_extra">
<%static:require_module module_name="js/learner_dashboard/program_details_factory" class_name="ProgramDetailsFactory">
ProgramDetailsFactory({
programData: ${program_data | n, dump_js_escaped_json}
});
</%static:require_module>
</%block>
<%block name="pagetitle">${_("Program Details")}</%block>
<main id="main" aria-label="Content" tabindex="-1">
<div class="js-program-details-wrapper grid-container"></div>
</main>