Commit 4ea6692e by Nate Hardison

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

Minor stylistic tweak.
parent 96c4c535
......@@ -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')}">
......
......@@ -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}?
......
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