Client/Shared: Links have been added.

This commit is contained in:
Tatiana Lopaeva 2024-08-27 11:21:16 +03:00
parent 94d36be730
commit 387cf3f3f4
2 changed files with 14 additions and 2 deletions

View File

@ -114,6 +114,9 @@ const CreateUserForm = (props) => {
defaultPage,
cultures,
i18n,
legalTerms,
privacyStatement,
} = props;
const currentCultureName = i18n.language;
@ -486,7 +489,7 @@ const CreateUserForm = (props) => {
<ColorTheme
tag="a"
themeId={ThemeId.Link}
href={"#"}
href={legalTerms}
target="_blank"
fontSize={"12px"}
/>
@ -495,7 +498,7 @@ const CreateUserForm = (props) => {
<ColorTheme
tag="a"
themeId={ThemeId.Link}
href={"#"}
href={privacyStatement}
target="_blank"
fontSize={"12px"}
/>
@ -772,6 +775,8 @@ export default inject(({ settingsStore, authStore }) => {
currentColorScheme,
userNameRegex,
cultures,
legalTerms,
privacyStatement,
} = settingsStore;
return {
settings: passwordSettings,
@ -786,6 +791,9 @@ export default inject(({ settingsStore, authStore }) => {
currentColorScheme,
userNameRegex,
cultures,
legalTerms,
privacyStatement,
};
})(
withCultureNames(

View File

@ -257,6 +257,10 @@ class SettingsStore {
sofwareLicense = null;
legalTerms = null;
privacyStatement = null;
bookTrainingEmail = null;
hotkeyPanelVisible = false;