From 1eabc1a11e8bac85b799c9ec714c879e39051484 Mon Sep 17 00:00:00 2001 From: Danny Coates Date: Mon, 24 Jul 2017 10:24:17 -0700 Subject: [PATCH] added legal page --- public/locales/send.en-US.ftl | 3 +++ server/server.js | 4 ++++ views/layouts/main.handlebars | 6 +++--- views/legal.handlebars | 12 ++++++++++++ 4 files changed, 22 insertions(+), 3 deletions(-) create mode 100644 views/legal.handlebars diff --git a/public/locales/send.en-US.ftl b/public/locales/send.en-US.ftl index bf6bae19..988b9522 100644 --- a/public/locales/send.en-US.ftl +++ b/public/locales/send.en-US.ftl @@ -77,6 +77,9 @@ notSupportedHeader = Your browser is not supported. notSupportedDetail = Unfortunately this browser does not support the web technology that powers Firefox Send. You'll need to try another browser. We recommend Firefox! downloadFirefoxButtonSub = Free Download +legalHeader = Terms & Privacy +legalNoticeTestPilot = Firefox Send is currently a Test Pilot experiment, and subject to the Test Pilot Terms of Service and Privacy Notice. You can learn more about this experiment and its data collection here. +legalNoticeMozilla = Use of the Firefox Send website is also subject to Mozilla’s Websites Privacy Notice and Websites Terms of Use. sentFilesTitle1 = File sentFilesTitle2 = Copy URL diff --git a/server/server.js b/server/server.js index 873f6d6f..e1d78721 100644 --- a/server/server.js +++ b/server/server.js @@ -80,6 +80,10 @@ app.get('/unsupported', (req, res) => { res.render('unsupported'); }); +app.get('/legal', (req, res) => { + res.render('legal'); +}); + app.get('/jsconfig.js', (req, res) => { res.set('Content-Type', 'application/javascript'); res.render('jsconfig', { diff --git a/views/layouts/main.handlebars b/views/layouts/main.handlebars index 4ea9f0b3..fad8267f 100644 --- a/views/layouts/main.handlebars +++ b/views/layouts/main.handlebars @@ -13,7 +13,7 @@ -
+