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
37598e60
Commit
37598e60
authored
Aug 08, 2014
by
Renzo Lucioni
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4763 from edx/lms/add-optimizely
Lms/add optimizely
parents
83f7acff
2380235f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
1 deletions
+11
-1
lms/envs/common.py
+4
-1
lms/templates/main.html
+2
-0
lms/templates/mktg_iframe.html
+2
-0
lms/templates/widgets/optimizely.html
+3
-0
No files found.
lms/envs/common.py
View file @
37598e60
...
@@ -148,7 +148,10 @@ FEATURES = {
...
@@ -148,7 +148,10 @@ FEATURES = {
# Staff Debug tool.
# Staff Debug tool.
'ENABLE_STUDENT_HISTORY_VIEW'
:
True
,
'ENABLE_STUDENT_HISTORY_VIEW'
:
True
,
# segment.io for LMS--need to explicitly turn it on for production.
# Optimizely for the LMS--need to explicitly turn on for production.
'OPTIMIZELY_LMS'
:
False
,
# Segment.io for LMS--need to explicitly turn on for production.
'SEGMENT_IO_LMS'
:
False
,
'SEGMENT_IO_LMS'
:
False
,
# Provide a UI to allow users to submit feedback from the LMS (left-hand help modal)
# Provide a UI to allow users to submit feedback from the LMS (left-hand help modal)
...
...
lms/templates/main.html
View file @
37598e60
...
@@ -90,6 +90,8 @@
...
@@ -90,6 +90,8 @@
<script src="${static.url('js/html5shiv.js')}"></script>
<script src="${static.url('js/html5shiv.js')}"></script>
<![endif]-->
<![endif]-->
<
%
include
file=
"widgets/optimizely.html"
/>
<meta
name=
"path_prefix"
content=
"${EDX_ROOT_URL}"
>
<meta
name=
"path_prefix"
content=
"${EDX_ROOT_URL}"
>
<meta
name=
"google-site-verification"
content=
"_mipQ4AtZQDNmbtOkwehQDOgCxUUV2fb_C0b6wbiRHY"
/>
<meta
name=
"google-site-verification"
content=
"_mipQ4AtZQDNmbtOkwehQDOgCxUUV2fb_C0b6wbiRHY"
/>
...
...
lms/templates/mktg_iframe.html
View file @
37598e60
...
@@ -22,6 +22,8 @@
...
@@ -22,6 +22,8 @@
<
%
block
name=
"headextra"
/>
<
%
block
name=
"headextra"
/>
<
%
include
file=
"widgets/optimizely.html"
/>
<!-- NOTE: if we want segment io on these iframes at some point, put
<!-- NOTE: if we want segment io on these iframes at some point, put
include file="widgets/segment-io.html"
include file="widgets/segment-io.html"
here -->
here -->
...
...
lms/templates/widgets/optimizely.html
0 → 100644
View file @
37598e60
% if settings.FEATURES.get('OPTIMIZELY_LMS'):
<script
src=
"//cdn.optimizely.com/js/1706490390.js"
></script>
% endif
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