From 93ef10649955648c7605c3c7589dd0b60ce9c3c3 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Sat, 20 Feb 2021 11:23:54 +0100 Subject: [PATCH] Retrieve privacy policy URL from static configuration --- assets/js/pages/settings/sections/privacy.js | 2 +- assets/js/typings/ServerConfig.d.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/assets/js/pages/settings/sections/privacy.js b/assets/js/pages/settings/sections/privacy.js index 41ea8acd..36fff8cb 100644 --- a/assets/js/pages/settings/sections/privacy.js +++ b/assets/js/pages/settings/sections/privacy.js @@ -74,7 +74,7 @@ const SettingsPrivacySection = { createElem2({ appendTo: boxBody, type: "p", - innerHTML: "We give an high importance to our users privacy. Please take some time to check our Privacy Policy and our Terms of use." + innerHTML: "We give an high importance to our users privacy. Please take some time to check our Privacy Policy and our Terms of use." }) }, diff --git a/assets/js/typings/ServerConfig.d.ts b/assets/js/typings/ServerConfig.d.ts index a2acbb9a..0539f9a8 100644 --- a/assets/js/typings/ServerConfig.d.ts +++ b/assets/js/typings/ServerConfig.d.ts @@ -26,6 +26,7 @@ declare interface DataConservationPolicySettings { declare interface StaticServerConfig { terms_url: string, + privacy_policy_url: string, play_store_url: string, android_direct_download_url: string, password_policy: PasswordPolicy,