From 7ace4fb1471fc65b2a4dcc3228896cccc09c92b7 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Sat, 20 Feb 2021 11:17:24 +0100 Subject: [PATCH] Use terms URL provided by server configuration --- assets/js/pages/createAccount.js | 2 +- assets/js/pages/settings/sections/privacy.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/js/pages/createAccount.js b/assets/js/pages/createAccount.js index 881ca80d..a3481035 100644 --- a/assets/js/pages/createAccount.js +++ b/assets/js/pages/createAccount.js @@ -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" }); diff --git a/assets/js/pages/settings/sections/privacy.js b/assets/js/pages/settings/sections/privacy.js index a9421ea1..41ea8acd 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." }) },