Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
c9b6606a
Commit
c9b6606a
authored
Dec 08, 2017
by
Harry Rein
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Hard code script import for bootstrap due to issues with requirejs loading.
parent
5b12dcc3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
3 deletions
+12
-3
lms/static/js/learner_dashboard/views/course_entitlement_view.js
+1
-3
lms/templates/dashboard.html
+4
-0
lms/templates/learner_dashboard/program_details_fragment.html
+3
-0
themes/edx.org/lms/templates/dashboard.html
+4
-0
No files found.
lms/static/js/learner_dashboard/views/course_entitlement_view.js
View file @
c9b6606a
...
@@ -10,9 +10,7 @@
...
@@ -10,9 +10,7 @@
'js/learner_dashboard/models/course_entitlement_model'
,
'js/learner_dashboard/models/course_entitlement_model'
,
'js/learner_dashboard/models/course_card_model'
,
'js/learner_dashboard/models/course_card_model'
,
'text!../../../templates/learner_dashboard/course_entitlement.underscore'
,
'text!../../../templates/learner_dashboard/course_entitlement.underscore'
,
'text!../../../templates/learner_dashboard/verification_popover.underscore'
,
'text!../../../templates/learner_dashboard/verification_popover.underscore'
'popper'
,
'bootstrap'
],
],
function
(
function
(
Backbone
,
Backbone
,
...
...
lms/templates/dashboard.html
View file @
c9b6606a
...
@@ -33,6 +33,10 @@ from student.models import CourseEnrollment
...
@@ -33,6 +33,10 @@ from student.models import CourseEnrollment
<%
static
:
include
path
=
"dashboard/${template_name}.underscore"
/>
<%
static
:
include
path
=
"dashboard/${template_name}.underscore"
/>
</script>
</script>
% endfor
% endfor
% if course_entitlements:
<script
type=
"text/javascript"
src=
"${static.url('common/js/vendor/popper.js')}"
></script>
<script
type=
"text/javascript"
src=
"${static.url('common/js/vendor/bootstrap.js')}"
></script>
% endif
</
%
block>
</
%
block>
<
%
block
name=
"js_extra"
>
<
%
block
name=
"js_extra"
>
...
...
lms/templates/learner_dashboard/program_details_fragment.html
View file @
c9b6606a
...
@@ -9,6 +9,9 @@ from openedx.core.djangolib.js_utils import (
...
@@ -9,6 +9,9 @@ from openedx.core.djangolib.js_utils import (
%
>
%
>
<
%
block
name=
"js_extra"
>
<
%
block
name=
"js_extra"
>
<script
type=
"text/javascript"
src=
"${static.url('common/js/vendor/popper.js')}"
></script>
<script
type=
"text/javascript"
src=
"${static.url('common/js/vendor/bootstrap.js')}"
></script>
<
%
static:require_module
module_name=
"js/learner_dashboard/program_details_factory"
class_name=
"ProgramDetailsFactory"
>
<
%
static:require_module
module_name=
"js/learner_dashboard/program_details_factory"
class_name=
"ProgramDetailsFactory"
>
ProgramDetailsFactory({
ProgramDetailsFactory({
programData: ${program_data | n, dump_js_escaped_json},
programData: ${program_data | n, dump_js_escaped_json},
...
...
themes/edx.org/lms/templates/dashboard.html
View file @
c9b6606a
...
@@ -34,6 +34,10 @@ from student.models import CourseEnrollment
...
@@ -34,6 +34,10 @@ from student.models import CourseEnrollment
<%
static
:
include
path
=
"dashboard/${template_name}.underscore"
/>
<%
static
:
include
path
=
"dashboard/${template_name}.underscore"
/>
</script>
</script>
% endfor
% endfor
% if course_entitlements:
<script
type=
"text/javascript"
src=
"${static.url('common/js/vendor/popper.js')}"
></script>
<script
type=
"text/javascript"
src=
"${static.url('common/js/vendor/bootstrap.js')}"
></script>
% endif
</
%
block>
</
%
block>
<
%
block
name=
"js_extra"
>
<
%
block
name=
"js_extra"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment