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
a127506a
Commit
a127506a
authored
Feb 07, 2014
by
Jason Bau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup theming in merge
parent
4004f4e8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
11 deletions
+0
-11
lms/envs/common.py
+0
-11
No files found.
lms/envs/common.py
View file @
a127506a
...
@@ -1227,17 +1227,6 @@ def enable_microsites(microsite_config_dict, subdomain_branding, virtual_univers
...
@@ -1227,17 +1227,6 @@ def enable_microsites(microsite_config_dict, subdomain_branding, virtual_univers
# remove from our configuration as it is not valid
# remove from our configuration as it is not valid
del
microsite_config_dict
[
microsite_name
]
del
microsite_config_dict
[
microsite_name
]
# Ensure the theme name is visible in templates
TEMPLATE_VISIBLE_SETTINGS
.
append
(
"THEME_NAME"
)
# Calculate the location of the theme's files
theme_root
=
ENV_ROOT
/
"themes"
/
theme_name
# Prepend the theme's templates to the template search paths so
# that themes can override templates on an as-needed basis
TEMPLATE_DIRS
.
insert
(
0
,
theme_root
/
'templates'
)
MAKO_TEMPLATES
[
'main'
]
.
insert
(
0
,
theme_root
/
'templates'
)
# if we have microsites, then let's turn on SUBDOMAIN_BRANDING
# if we have microsites, then let's turn on SUBDOMAIN_BRANDING
# Note check size of the dict because some microsites might not be found on disk and
# Note check size of the dict because some microsites might not be found on disk and
# we could be left with none
# we could be left with none
...
...
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