Merge branch 'release' into 'master' after successful rc/2014-09-17 deploy.
This commit is contained in:
@@ -103,6 +103,16 @@ def open_source_footer_context_processor(request):
|
||||
)
|
||||
|
||||
|
||||
def microsite_footer_context_processor(request):
|
||||
"""
|
||||
Checks the site name to determine whether to use the edX.org footer or the Open Source Footer.
|
||||
"""
|
||||
return dict(
|
||||
[
|
||||
("IS_REQUEST_IN_MICROSITE", microsite.is_request_in_microsite())
|
||||
]
|
||||
)
|
||||
|
||||
def render_to_string(template_name, dictionary, context=None, namespace='main'):
|
||||
|
||||
# see if there is an override template defined in the microsite
|
||||
|
||||
Reference in New Issue
Block a user