Commit d36153cb by Saleem Latif

Hide braces when ENTERPRISE_TAGLINE is not set.

parent 19c2faee
......@@ -22,7 +22,9 @@ from branding import api as branding_api
% if enable_enterprise_sidebar:
<span class="enterprise-tagline">
<% tagline = configuration_helpers.get_value('ENTERPRISE_TAGLINE', settings.ENTERPRISE_TAGLINE) %>
${tagline}
% if tagline:
${tagline}
% endif
</span>
% endif
% if course and not disable_courseware_header:
......
......@@ -22,7 +22,9 @@ from branding import api as branding_api
% if enable_enterprise_sidebar:
<span class="enterprise-tagline">
<% tagline = configuration_helpers.get_value('ENTERPRISE_TAGLINE', settings.ENTERPRISE_TAGLINE) %>
${tagline}
% if tagline:
${tagline}
% endif
</span>
% endif
% if course:
......
......@@ -24,7 +24,9 @@ from branding import api as branding_api
% if enable_enterprise_sidebar:
<span class="enterprise-tagline">
<% tagline = configuration_helpers.get_value('ENTERPRISE_TAGLINE', settings.ENTERPRISE_TAGLINE) %>
${tagline}
% if tagline:
${tagline}
% endif
</span>
% endif
% if course:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment