diff --git a/frontend/public/locales/en/common.json b/frontend/public/locales/en/common.json index 574fd47707e2204b98d6cad837b88fe5b3740c60..aadefb1877f8d79e9f9d49a7d81f3ffab098ec31 100644 --- a/frontend/public/locales/en/common.json +++ b/frontend/public/locales/en/common.json @@ -50,6 +50,8 @@ "consentInfoHead": "Consent information", "choiceDate": "Choice date", "consentName": "Consent type", + "registeredInfo": "Registererd information on you", + "registeredInfoExplanation": "Here is the contact information, roles and consent information that is registered on you.", "roleInfoHead": "Roles and periods", "roleInfoTableText": "Guest roles", "roleInfoBody": "You can only change roles connected to units that you have given.", @@ -146,7 +148,8 @@ "cancelInvitation": "Cancel", "resendInvitation": "Resend invitation", "ok": "OK", - "finishRegistration": "Finish registration" + "finishRegistration": "Finish registration", + "seeRegisteredInfo": "See registered info" }, "registerWizardText": { "registerPage": "Enter the contact information for the guest below. These fields are mandatory.", diff --git a/frontend/public/locales/nb/common.json b/frontend/public/locales/nb/common.json index 9f7bcc26242654ff390e5fe4eba3ae45cab56cbf..dba5a06fa24c774442e9d6e1dbfd23f70b9142cb 100644 --- a/frontend/public/locales/nb/common.json +++ b/frontend/public/locales/nb/common.json @@ -50,6 +50,8 @@ "consentInfoHead": "Samtykkeinformasjon", "choiceDate": "Valgdato", "consentName": "Samtykketype", + "registeredInfo": "Registrert informasjon om deg", + "registeredInfoExplanation": "Her er en oversikt over kontaktinformasjon, roller og samtykker som er registrert om deg.", "roleInfoHead": "Roller og perioder", "roleInfoBody": "Du kan endre på tidsperioden, men kun på gjesteroller tilknyttet enheter du er vert for.", "roleInfoTableText": "Gjesteroller", @@ -146,7 +148,8 @@ "resendInvitation": "Send ny invitasjon", "cancelInvitation": "Kanseller", "ok": "OK", - "finishRegistration": "Fullfør registrering" + "finishRegistration": "Fullfør registrering", + "seeRegisteredInfo": "Se registrert informasjon" }, "registerWizardText": { "registerPage": "Fyll inn kontaktinformasjonen til gjesten under. Disse feltene er obligatoriske.", diff --git a/frontend/public/locales/nn/common.json b/frontend/public/locales/nn/common.json index 00136cf5397f43b5529233420078ddc8fa8160cc..694a29a27484eec471c68b392cd2e0557983a40d 100644 --- a/frontend/public/locales/nn/common.json +++ b/frontend/public/locales/nn/common.json @@ -50,6 +50,8 @@ "consentInfoHead": "Samtykkeinformasjon", "choiceDate": "Valdato", "consentName": "Samtykketype", + "registeredInfo": "Registrert informasjon om deg", + "registeredInfoExplanation": "Her er ei oversikt over kontaktinformasjon, roller og samtykke som er registrert om deg.", "roleInfoTableText": "Gjesteroller", "roleInfoHead": "Roller og periodar", "roleInfoBody": "Du kan endre på tidsperioden, men berre på gjesteroller knytta til eininger du er vert for.", @@ -146,7 +148,8 @@ "resendInvitation": "Send ny invitasjon", "cancelInvitation": "Kanseller", "ok": "OK", - "finishRegistration": "Fullfør registrering" + "finishRegistration": "Fullfør registrering", + "seeRegisteredInfo": "Se registrert informasjon" }, "registerWizardText": { "registerPage": "Fyll inn kontaktinformasjonen til gjesten under. Desse felta er påkrevde.", diff --git a/frontend/src/routes/guest/register/steps/success.tsx b/frontend/src/routes/guest/register/steps/success.tsx index 4ee71e6a63a28a63cc26f13952f7692d2aa37ec6..42aa03f329a55db72af6dddf19f2e3faebb5240d 100644 --- a/frontend/src/routes/guest/register/steps/success.tsx +++ b/frontend/src/routes/guest/register/steps/success.tsx @@ -39,7 +39,7 @@ const GuestSuccessStep = () => { navigate('/') }} > - {t('button.backToFrontPage')} + {t('button.seeRegisteredInfo')} </Button> </> ) diff --git a/frontend/src/routes/landing/index.tsx b/frontend/src/routes/landing/index.tsx index 8c1a0f76104fcd96170ec07247b171eb336b2b04..9832532ad8ee5eaf00368037204e3b69af498158 100644 --- a/frontend/src/routes/landing/index.tsx +++ b/frontend/src/routes/landing/index.tsx @@ -28,6 +28,14 @@ const GuestPage = () => { }, []) return ( <Page> + <Typography variant="h2">{t('guestInfo.registeredInfo')}</Typography> + <Typography + variant="body1" + sx={{ paddingBottom: '1rem', paddingTop: '1rem' }} + > + {t('guestInfo.registeredInfoExplanation')} + </Typography> + <Typography variant="h2">{t('guestInfo.contactInfo')}</Typography> <TableContainer> <Table sx={{ minWidth: 650 }} aria-label="simple table">