From b253620c024fe8faca12e1b007fd12ddbeeac037 Mon Sep 17 00:00:00 2001 From: Ian Bicking Date: Tue, 12 Feb 2019 12:22:23 -0600 Subject: [PATCH] Fix #5275, add text to /hosting-shutdown page --- locales/en-US/server.ftl | 3 ++ server/src/pages/hosting-shutdown/model.js | 2 +- server/src/pages/hosting-shutdown/view.js | 37 ++++++++++------------ 3 files changed, 20 insertions(+), 22 deletions(-) diff --git a/locales/en-US/server.ftl b/locales/en-US/server.ftl index d0d4cb1bc2..fd5433267f 100644 --- a/locales/en-US/server.ftl +++ b/locales/en-US/server.ftl @@ -18,6 +18,9 @@ screenshotsLogo = bannerSignIn = Sign in or sign up to access your shots across devices and save your favorites forever. bannerUpsell = {gScreenshotsDescription} Get Firefox now shutdownWarning = Saved screenshots are expiring soon. Starting in June, Screenshots will no longer offer online storage. Want to keep shots from your library? Download them to your computer. +shutdownPageTitle = Screenshots is changing +shutdownPageDescription = Starting in June, Screenshots will no longer offer online storage. Want to keep shots from your library? Download shots individually or in batch. Thank you for using this feature, and we’re sorry for any inconvenience. +shutdownPageContinue = We hope you’ll continue to use Screenshots to capture, copy, and download shots. # Text used in Firefox Account onboarding promo shown below # Sign in button in header diff --git a/server/src/pages/hosting-shutdown/model.js b/server/src/pages/hosting-shutdown/model.js index d1f78c8312..69935d9f6e 100644 --- a/server/src/pages/hosting-shutdown/model.js +++ b/server/src/pages/hosting-shutdown/model.js @@ -1,5 +1,5 @@ exports.createModel = function(req) { return { - title: "shutdown" /* req.getText("shutdownPageTitle") */, + title: req.getText("shutdownPageTitle"), }; }; diff --git a/server/src/pages/hosting-shutdown/view.js b/server/src/pages/hosting-shutdown/view.js index 5fa6d066dd..f12d6f8a8a 100644 --- a/server/src/pages/hosting-shutdown/view.js +++ b/server/src/pages/hosting-shutdown/view.js @@ -1,6 +1,6 @@ const reactruntime = require("../../reactruntime"); const { Footer } = require("../../footer-view.js"); -// const { Localized } = require("fluent-react/compat"); +const { Localized } = require("fluent-react/compat"); const React = require("react"); const PropTypes = require("prop-types"); const { Header } = require("../../header.js"); @@ -24,32 +24,27 @@ Head.propTypes = { class Body extends React.Component { render() { + const exportLink = ; return (
- {/* */} -

Screenshots is changing

- {/*
*/} - {/* */} -

- The Firefox Screenshots server is shutting down in June of this - year. Thank you for using this feature, and we apologize for any - inconvenience.  - - Follow this link to download all of the - screenshots you currently have saved on our server. - -

-

- Screenshots will continue to be a part of Firefox. You can still - capture screenshots, download them or copy them to your - clipboard. -

- Thank you - {/*
*/} + +

Screenshots is changing

+
+ +

+ Starting in June, Screenshots will no longer offer online storage. Want to keep shots from your library? Download shots individually or in batch. Thank you for using this feature, and we’re sorry for any inconvenience. +

+
+

 

+ +

+ We hope you’ll continue to use Screenshots to capture, copy, and download shots. +

+