fix: separate tos and privacy checkbox into two (#4848)

This commit is contained in:
Stefan Benz
2022-12-21 08:27:31 +00:00
committed by GitHub
parent 77e3d08f22
commit f5eddcc490
19 changed files with 248 additions and 214 deletions

View File

@@ -64,7 +64,7 @@ export function mapRequestValues(map: Partial<Map>, req: Req): Req {
r2.setTitle(map.externalUserNotFoundText?.title ?? '');
r2.setTosAndPrivacyLabel(map.externalUserNotFoundText?.tosAndPrivacyLabel ?? '');
r2.setTosConfirm(map.externalUserNotFoundText?.tosConfirm ?? '');
r2.setTosConfirmAnd(map.externalUserNotFoundText?.tosConfirmAnd ?? '');
r2.setPrivacyConfirm(map.externalUserNotFoundText?.privacyConfirm ?? '');
r2.setTosLinkText(map.externalUserNotFoundText?.tosLinkText ?? '');
r2.setPrivacyLinkText(map.externalUserNotFoundText?.privacyLinkText ?? '');
req.setExternalUserNotFoundText(r2);
@@ -240,13 +240,13 @@ export function mapRequestValues(map: Partial<Map>, req: Req): Req {
r22.setOrgnameLabel(map.registrationOrgText?.orgnameLabel ?? '');
r22.setPasswordConfirmLabel(map.registrationOrgText?.passwordConfirmLabel ?? '');
r22.setPasswordLabel(map.registrationOrgText?.passwordLabel ?? '');
r22.setTosConfirmAnd(map.registrationOrgText?.tosConfirm ?? '');
r22.setPrivacyConfirm(map.registrationOrgText?.privacyConfirm ?? '');
r22.setPrivacyLinkText(map.registrationOrgText?.privacyLinkText ?? '');
r22.setSaveButtonText(map.registrationOrgText?.saveButtonText ?? '');
r22.setTitle(map.registrationOrgText?.title ?? '');
r22.setTosAndPrivacyLabel(map.registrationOrgText?.tosAndPrivacyLabel ?? '');
r22.setTosConfirm(map.registrationOrgText?.tosConfirm ?? '');
r22.setTosConfirmAnd(map.registrationOrgText?.tosConfirmAnd ?? '');
r22.setPrivacyConfirm(map.registrationOrgText?.privacyConfirm ?? '');
r22.setTosLinkText(map.registrationOrgText?.tosLinkText ?? '');
r22.setUsernameLabel(map.registrationOrgText?.usernameLabel ?? '');
req.setRegistrationOrgText(r22);
@@ -264,7 +264,7 @@ export function mapRequestValues(map: Partial<Map>, req: Req): Req {
r23.setPasswordConfirmLabel(map.registrationUserText?.passwordConfirmLabel ?? '');
r23.setPasswordLabel(map.registrationUserText?.passwordLabel ?? '');
r23.setTosConfirm(map.registrationUserText?.tosConfirm ?? '');
r23.setTosConfirmAnd(map.registrationUserText?.tosConfirmAnd ?? '');
r23.setPrivacyConfirm(map.registrationUserText?.privacyConfirm ?? '');
r23.setTosLinkText(map.registrationUserText?.tosLinkText ?? '');
r23.setPrivacyLinkText(map.registrationUserText?.privacyLinkText ?? '');
r23.setTitle(map.registrationUserText?.title ?? '');
@@ -369,7 +369,7 @@ export function mapRequestValues(map: Partial<Map>, req: Req): Req {
r34.setTitle(map.externalRegistrationUserOverviewText?.title ?? '');
r34.setTosAndPrivacyLabel(map.externalRegistrationUserOverviewText?.tosAndPrivacyLabel ?? '');
r34.setTosConfirm(map.externalRegistrationUserOverviewText?.tosConfirm ?? '');
r34.setTosConfirmAnd(map.externalRegistrationUserOverviewText?.tosConfirmAnd ?? '');
r34.setPrivacyConfirm(map.externalRegistrationUserOverviewText?.privacyConfirm ?? '');
r34.setTosLinkText(map.externalRegistrationUserOverviewText?.tosLinkText ?? '');
r34.setUsernameLabel(map.externalRegistrationUserOverviewText?.usernameLabel ?? '');
req.setExternalRegistrationUserOverviewText(r34);