load header extra file if request comes from micro site

use blank header_extra template instead of if statement
This commit is contained in:
Zia Fazal
2015-09-03 16:40:48 +05:00
parent f80720d09e
commit 6e0ef385a2
2 changed files with 4 additions and 1 deletions

View File

@@ -0,0 +1,3 @@
<%
# This template is left blank on purpose. It can be overridden by microsites.
%>

View File

@@ -94,7 +94,7 @@ from branding import api as branding_api
style_overrides_file = None
else:
header_extra_file = None
header_extra_file = microsite.get_template_path('header_extra.html')
if settings.FEATURES['IS_EDX_DOMAIN'] and not is_microsite():
header_file = microsite.get_template_path('navigation-edx.html')