Merge pull request #16421 from edx/saleem-latif/ENT-673
ENT-673: Hide braces when ENTERPRISE_TAGLINE is not set.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user