From 4ea6692e116b61e30075bf87bf71bd1dd4e6897d Mon Sep 17 00:00:00 2001 From: Nate Hardison Date: Mon, 3 Jun 2013 12:29:14 -0700 Subject: [PATCH] Change `if ... is not None` to `if ...` Minor stylistic tweak. --- lms/templates/login.html | 2 +- lms/templates/register.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lms/templates/login.html b/lms/templates/login.html index e2558651f6..b185b02c84 100644 --- a/lms/templates/login.html +++ b/lms/templates/login.html @@ -167,7 +167,7 @@

Sign up for ${settings.PLATFORM_NAME} today!

## 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'):

Need Help?

Looking for help in logging in or with your ${settings.PLATFORM_NAME} account? diff --git a/lms/templates/register.html b/lms/templates/register.html index 6710c084fd..a01fa13537 100644 --- a/lms/templates/register.html +++ b/lms/templates/register.html @@ -277,7 +277,7 @@ % endif - % if settings.MKTG_URL_LINK_MAP.get('FAQ', None) is not None: + % if settings.MKTG_URL_LINK_MAP.get('FAQ'):

Need Help?

Need help in registering with ${settings.PLATFORM_NAME}?