Retrieve privacy policy URL from static configuration

This commit is contained in:
Pierre HUBERT 2021-02-20 11:23:54 +01:00
parent 7ace4fb147
commit 93ef106499
2 changed files with 2 additions and 1 deletions

View File

@ -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 <a href='"+ComunicWeb.__config.aboutWebsiteURL+"about/privacy' target='_blank'>Privacy Policy</a> and our <a href='"+ServerConfig.conf.terms_url+"' target='_blank'>Terms of use</a>."
innerHTML: "We give an high importance to our users privacy. Please take some time to check our <a href='"+ServerConfig.conf.privacy_policy_url+"' target='_blank'>Privacy Policy</a> and our <a href='"+ServerConfig.conf.terms_url+"' target='_blank'>Terms of use</a>."
})
},

View File

@ -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,