Merge branch 'release' into 'master' after successful rc/2014-09-17 deploy.

This commit is contained in:
John Eskew
2014-09-18 12:27:32 -04:00
20 changed files with 415 additions and 20 deletions

View File

@@ -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