From a5cd0bdbff95af5cc06aefa131b505f0a8397d96 Mon Sep 17 00:00:00 2001 From: Alexander Dietrich Date: Sun, 26 Apr 2020 15:10:13 +0200 Subject: [PATCH] Add privacy policy option --- customize.dist/pages.js | 2 +- www/common/application_config_internal.js | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/customize.dist/pages.js b/customize.dist/pages.js index e271dd74b..df45d9ef4 100644 --- a/customize.dist/pages.js +++ b/customize.dist/pages.js @@ -96,7 +96,7 @@ define([ ]), footerCol('footer_legal', [ footLink('/terms.html', 'footer_tos'), - footLink('/privacy.html', 'privacy'), + footLink(AppConfig.privacy, 'privacy'), AppConfig.imprint ? footLink(imprintUrl, 'imprint') : undefined, ]), /*footerCol('footer_contact', [ diff --git a/www/common/application_config_internal.js b/www/common/application_config_internal.js index ab573ae70..6ce4d9dc5 100644 --- a/www/common/application_config_internal.js +++ b/www/common/application_config_internal.js @@ -40,6 +40,12 @@ define(function() { // config.imprint = true; // config.imprint = 'https://xwiki.com/en/company/legal-notice'; + /* You can display a link to your own privacy policy in the static pages footer. + * To do so, set the following value to the absolute URL of your privacy policy. + */ + config.privacy = '/privacy.html'; + // config.privacy = 'https://xwiki.com/en/company/PrivacyPolicy'; + /* Cryptpad apps use a common API to display notifications to users * by default, notifications are hidden after 5 seconds * You can change their duration here (measured in milliseconds)