Change if ... is not None to if ...

Minor stylistic tweak.
This commit is contained in:
Nate Hardison
2013-06-03 12:29:14 -07:00
parent 96c4c53505
commit 4ea6692e11
2 changed files with 2 additions and 2 deletions

View File

@@ -167,7 +167,7 @@
<p><a href="${reverse('register_user')}">Sign up for ${settings.PLATFORM_NAME} today!</a></p>
## Disable help unless the FAQ marketing link is enabled
% if settings.MKTG_URL_LINK_MAP.get('FAQ', None) is not None:
% if settings.MKTG_URL_LINK_MAP.get('FAQ'):
<h3>Need Help?</h3>
<p>Looking for help in logging in or with your ${settings.PLATFORM_NAME} account?
<a href="${marketing_link('FAQ')}">

View File

@@ -277,7 +277,7 @@
% endif
</div>
% if settings.MKTG_URL_LINK_MAP.get('FAQ', None) is not None:
% if settings.MKTG_URL_LINK_MAP.get('FAQ'):
<div class="cta cta-help">
<h3>Need Help?</h3>
<p>Need help in registering with ${settings.PLATFORM_NAME}?