diff --git a/lms/djangoapps/courseware/features/homepage.feature b/lms/djangoapps/courseware/features/homepage.feature index ac9b91e8d1..49b3cf3e65 100644 --- a/lms/djangoapps/courseware/features/homepage.feature +++ b/lms/djangoapps/courseware/features/homepage.feature @@ -20,4 +20,4 @@ Feature: LMS.Homepage for web users | jobs | Jobs | | faq | FAQ | | contact | Contact| - | press | News | + | news | News | diff --git a/lms/envs/common.py b/lms/envs/common.py index a8bffb8232..d17299ac0a 100644 --- a/lms/envs/common.py +++ b/lms/envs/common.py @@ -1576,18 +1576,16 @@ INSTALLED_APPS = ( EDXMKTG_COOKIE_NAME = 'edxloggedin' MKTG_URLS = {} MKTG_URL_LINK_MAP = { - 'ABOUT': 'about_edx', + 'ABOUT': 'about', 'CONTACT': 'contact', - 'FAQ': 'help_edx', + 'FAQ': 'help', 'COURSES': 'courses', 'ROOT': 'root', 'TOS': 'tos', 'HONOR': 'honor', - 'PRIVACY': 'privacy_edx', - 'JOBS': 'jobs', - 'NEWS': 'news', + 'PRIVACY': 'privacy', 'PRESS': 'press', - 'BLOG': 'edx-blog', + 'BLOG': 'blog', 'DONATE': 'donate', # Verified Certificates diff --git a/lms/envs/test.py b/lms/envs/test.py index 2f801e278b..93087b5cb1 100644 --- a/lms/envs/test.py +++ b/lms/envs/test.py @@ -281,6 +281,28 @@ CELERY_ALWAYS_EAGER = True CELERY_RESULT_BACKEND = 'cache' BROKER_TRANSPORT = 'memory' +######################### MARKETING SITE ############################### + +MKTG_URL_LINK_MAP = { + 'ABOUT': 'about', + 'CONTACT': 'contact', + 'FAQ': 'help', + 'COURSES': 'courses', + 'ROOT': 'root', + 'TOS': 'tos', + 'HONOR': 'honor', + 'PRIVACY': 'privacy', + 'JOBS': 'jobs', + 'NEWS': 'news', + 'PRESS': 'press', + 'BLOG': 'blog', + 'DONATE': 'donate', + + # Verified Certificates + 'WHAT_IS_VERIFIED_CERT': 'verified-certificate', +} + + ############################ STATIC FILES ############################# DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage' MEDIA_ROOT = TEST_ROOT / "uploads" diff --git a/lms/static/sass/shared/_footer.scss b/lms/static/sass/shared/_footer.scss index 161ea35cc6..3819ef3795 100644 --- a/lms/static/sass/shared/_footer.scss +++ b/lms/static/sass/shared/_footer.scss @@ -118,15 +118,12 @@ display: inline-block; font-size: em(11); - a { - display: block; - } } - .nav-legal-01 a { + .nav-legal-02 a { - &:after { - margin-left: ($baseline/4); + &:before { + margin-right: ($baseline/4); content: "-"; } } diff --git a/lms/templates/footer.html b/lms/templates/footer.html index e87e70eb01..5bb0f75287 100644 --- a/lms/templates/footer.html +++ b/lms/templates/footer.html @@ -14,16 +14,20 @@ ${_("About")} - - + %if marketing_link('JOBS') and marketing_link('JOBS') != '#': + + %endif + %if marketing_link('NEWS') and marketing_link('NEWS') != '#': + + %endif