From 2fd72096ae2f4e535ff8f06bf227c8d80d31df67 Mon Sep 17 00:00:00 2001 From: Danny Coates Date: Fri, 22 Feb 2019 12:42:10 -0800 Subject: [PATCH] download page style updates --- app/ui/download.js | 7 +++++-- app/ui/signupDialog.js | 4 +++- public/locales/en-US/send.ftl | 8 +++++--- 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/app/ui/download.js b/app/ui/download.js index c9509a00..ca97addc 100644 --- a/app/ui/download.js +++ b/app/ui/download.js @@ -13,6 +13,9 @@ function password(state, emit) { class="h-full w-full flex flex-col items-center justify-center bg-white py-8" >

${state.translate('downloadFilesTitle')}

+

+ ${state.translate('downloadMessage')} +

+

${state.translate('downloadFilesTitle')}

-

+

${state.translate('downloadMessage')}

${archiveTile.preview(state, emit)} diff --git a/app/ui/signupDialog.js b/app/ui/signupDialog.js index a0ea4802..56832d7a 100644 --- a/app/ui/signupDialog.js +++ b/app/ui/signupDialog.js @@ -3,6 +3,8 @@ const html = require('choo/html'); const { bytes, platform } = require('../utils'); const { canceledSignup, submittedSignup } = require('../metrics'); +const DAYS = Math.floor(LIMITS.MAX_EXPIRE_SECONDS / 86400); + module.exports = function(trigger) { return function(state, emit, close) { const hidden = platform() === 'android' ? 'hidden' : ''; @@ -15,7 +17,7 @@ module.exports = function(trigger) { size: bytes(LIMITS.MAX_FILE_SIZE) })}
  • ${state.translate('accountBenefitExpiry')}
  • -
  • ${state.translate('accountBenefitExpiryTwo')}
  • +
  • ${state.translate('accountBenefitExpiryTwo', { count: DAYS })}
  • ${state.translate('accountBenefitSync')}
  • + *[other] Keep links active for up to { $count } days +} accountBenefitSync = Manage shared files from any device manageAccount = Manage Account logOut = Sign Out