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

View File

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