From 20e8f47deffb9605a500da4e957cf6eeacd05291 Mon Sep 17 00:00:00 2001 From: Alys Date: Sat, 11 Feb 2017 23:14:47 +1000 Subject: [PATCH] adjust links to wiki's page for Extensions, Add-Ons, and Customizations - remove redundant link from footer's Company column (still exists in Community) - change link to point directly to wiki page instead of to a wiki redirect for: - static/features page ("3rd Party Tools" section) - static/extensions redirection --- website/common/locales/en/front.json | 3 +-- website/server/controllers/top-level/pages.js | 2 +- website/views/shared/footer.jade | 2 -- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/website/common/locales/en/front.json b/website/common/locales/en/front.json index 4c66eeaf8a..217e13c762 100644 --- a/website/common/locales/en/front.json +++ b/website/common/locales/en/front.json @@ -30,7 +30,6 @@ "companyBlog": "Blog", "devBlog": "Developer Blog", "companyDonate": "Donate", - "companyExtensions": "Extensions", "companyPrivacy": "Privacy", "companyTerms": "Terms", "companyVideos": "Videos", @@ -111,7 +110,7 @@ "marketing2Lead3": "Challenges let you compete with friends and strangers. Whoever does the best at the end of a challenge wins special prizes.", "marketing3Header": "Apps and Extensions", "marketing3Lead1": "The iPhone & Android apps let you take care of business on the go. We realize that logging into the website to click buttons can be a drag.", - "marketing3Lead2": " Other 3rd Party Tools tie Habitica into various aspects of your life. Our API provides easy integration for things like the Chrome Extension, for which you lose points when browsing unproductive websites, and gain points when on productive ones. See more here", + "marketing3Lead2": " Other 3rd Party Tools tie Habitica into various aspects of your life. Our API provides easy integration for things like the Chrome Extension, for which you lose points when browsing unproductive websites, and gain points when on productive ones. See more here", "marketing4Header": "Organizational Use", "marketing4Lead1": "Education is one of the best sectors for gamification. We all know how glued to phones and games students are these days; harness that power! Pit your students against each other in friendly competition. Reward good behavior with rare prizes. Watch their grades and behavior soar.", "marketing4Lead1Title": "Gamification In Education", diff --git a/website/server/controllers/top-level/pages.js b/website/server/controllers/top-level/pages.js index f849cf9661..0fd19fe724 100644 --- a/website/server/controllers/top-level/pages.js +++ b/website/server/controllers/top-level/pages.js @@ -81,7 +81,7 @@ api.redirectExtensionsPage = { url: '/static/extensions', runCron: false, async handler (req, res) { - return res.redirect('http://habitica.wikia.com/wiki/App_and_Extension_Integrations'); + return res.redirect('http://habitica.wikia.com/wiki/Extensions,_Add-Ons,_and_Customizations'); }, }; diff --git a/website/views/shared/footer.jade b/website/views/shared/footer.jade index 7103b2e717..2f042084b1 100644 --- a/website/views/shared/footer.jade +++ b/website/views/shared/footer.jade @@ -28,8 +28,6 @@ footer.footer(ng-controller='FooterCtrl') a(target='_blank', href='https://habitica.wordpress.com/')=env.t('companyBlog') li a(target='_blank', href='http://blog.habitrpg.com/')=env.t('tumblr') - li - !=env.t('companyExtensions') li a(href='/static/faq/')=env.t('FAQ') li