diff --git a/app/ui/footer.js b/app/ui/footer.js index 77a2b960f..850f2da2d 100644 --- a/app/ui/footer.js +++ b/app/ui/footer.js @@ -37,6 +37,15 @@ class Footer extends Component { `); } + if (WEB_UI.FOOTER_THUNDERBIRD_ADDON_URL != '') { + links.push(html` +
  • + + ${translate('footerLinkThunderbirdAddon')} + +
  • + `); + } if (WEB_UI.FOOTER_DMCA_URL != '') { links.push(html`
  • diff --git a/public/locales/en-US/send.ftl b/public/locales/en-US/send.ftl index f42090c72..6438ddf3b 100644 --- a/public/locales/en-US/send.ftl +++ b/public/locales/en-US/send.ftl @@ -29,6 +29,7 @@ deleteButtonHover = Delete footerText = Not affiliated with Mozilla or Firefox. footerLinkDonate = Donate footerLinkCli = CLI +footerLinkThunderbirdAddon = Thunderbird Add-on footerLinkDmca = DMCA footerLinkSource = Source passwordTryAgain = Incorrect password. Try again. diff --git a/server/clientConstants.js b/server/clientConstants.js index b340f5850..b398d7c56 100644 --- a/server/clientConstants.js +++ b/server/clientConstants.js @@ -11,6 +11,7 @@ module.exports = { WEB_UI: { FOOTER_DONATE_URL: config.footer_donate_url, FOOTER_CLI_URL: config.footer_cli_url, + FOOTER_THUNDERBIRD_ADDON_URL: config.footer_thunderbird_addon_url, FOOTER_DMCA_URL: config.footer_dmca_url, FOOTER_SOURCE_URL: config.footer_source_url, CUSTOM_FOOTER_TEXT: config.custom_footer_text, diff --git a/server/config.js b/server/config.js index 07b94d612..b05a74a95 100644 --- a/server/config.js +++ b/server/config.js @@ -244,6 +244,11 @@ const conf = convict({ default: 'https://github.com/timvisee/ffsend', env: 'SEND_FOOTER_CLI_URL' }, + footer_thunderbird_addon_url: { + format: String, + default: 'https://addons.thunderbird.net/thunderbird/addon/filelink-provider-for-send/', + env: 'SEND_FOOTER_THUNDERBIRD_ADDON_URL' + }, footer_dmca_url: { format: String, default: '',