Unverified Commit 6614ca82 by Saleem Latif Committed by GitHub

Merge pull request #16421 from edx/saleem-latif/ENT-673

ENT-673: Hide braces when ENTERPRISE_TAGLINE is not set.
parents 19c2faee d36153cb
...@@ -22,7 +22,9 @@ from branding import api as branding_api ...@@ -22,7 +22,9 @@ from branding import api as branding_api
% if enable_enterprise_sidebar: % if enable_enterprise_sidebar:
<span class="enterprise-tagline"> <span class="enterprise-tagline">
<% tagline = configuration_helpers.get_value('ENTERPRISE_TAGLINE', settings.ENTERPRISE_TAGLINE) %> <% tagline = configuration_helpers.get_value('ENTERPRISE_TAGLINE', settings.ENTERPRISE_TAGLINE) %>
${tagline} % if tagline:
${tagline}
% endif
</span> </span>
% endif % endif
% if course and not disable_courseware_header: % if course and not disable_courseware_header:
......
...@@ -22,7 +22,9 @@ from branding import api as branding_api ...@@ -22,7 +22,9 @@ from branding import api as branding_api
% if enable_enterprise_sidebar: % if enable_enterprise_sidebar:
<span class="enterprise-tagline"> <span class="enterprise-tagline">
<% tagline = configuration_helpers.get_value('ENTERPRISE_TAGLINE', settings.ENTERPRISE_TAGLINE) %> <% tagline = configuration_helpers.get_value('ENTERPRISE_TAGLINE', settings.ENTERPRISE_TAGLINE) %>
${tagline} % if tagline:
${tagline}
% endif
</span> </span>
% endif % endif
% if course: % if course:
......
...@@ -24,7 +24,9 @@ from branding import api as branding_api ...@@ -24,7 +24,9 @@ from branding import api as branding_api
% if enable_enterprise_sidebar: % if enable_enterprise_sidebar:
<span class="enterprise-tagline"> <span class="enterprise-tagline">
<% tagline = configuration_helpers.get_value('ENTERPRISE_TAGLINE', settings.ENTERPRISE_TAGLINE) %> <% tagline = configuration_helpers.get_value('ENTERPRISE_TAGLINE', settings.ENTERPRISE_TAGLINE) %>
${tagline} % if tagline:
${tagline}
% endif
</span> </span>
% endif % endif
% if course: % 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