Use terms URL provided by server configuration

This commit is contained in:
Pierre HUBERT 2021-02-20 11:17:24 +01:00
parent ceaf5edc8b
commit 7ace4fb147
2 changed files with 2 additions and 2 deletions

View File

@ -99,7 +99,7 @@ ComunicWeb.pages.createAccount = {
//Terms of use must have been accepted
var siteTerms = createFormGroup({
target: formRoot,
label: lang("form_create_account_terms_label", [ComunicWeb.__config.aboutWebsiteURL+"about/terms/"]),
label: lang("form_create_account_terms_label", [ServerConfig.conf.terms_url]),
type: "checkbox"
});

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='"+ComunicWeb.__config.aboutWebsiteURL+"about/terms' 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='"+ComunicWeb.__config.aboutWebsiteURL+"about/privacy' target='_blank'>Privacy Policy</a> and our <a href='"+ServerConfig.conf.terms_url+"' target='_blank'>Terms of use</a>."
})
},