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:
Saleem Latif
2017-11-02 15:13:43 +05:00
committed by GitHub
3 changed files with 9 additions and 3 deletions

View File

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

View File

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

View File

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