From 7bae95d498ce99e403cabbd3e9b3f02427974944 Mon Sep 17 00:00:00 2001 From: Janne Juhola <62986222+JanneJuhola@users.noreply.github.com> Date: Wed, 11 Dec 2024 10:46:00 +0200 Subject: [PATCH] Hl 1551 (#3645) * fix: Better text for Sent to Ahjo message * fix: Added Ahjo Case Id (diaari) and removed Go to Ahjo button in Sent to Ahjo message * fix: Remove import of not used IconLinkExternal --- frontend/benefit/handler/public/locales/en/common.json | 2 +- frontend/benefit/handler/public/locales/fi/common.json | 2 +- frontend/benefit/handler/public/locales/sv/common.json | 2 +- .../notificationView/NotificationView.tsx | 8 +++++--- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/frontend/benefit/handler/public/locales/en/common.json b/frontend/benefit/handler/public/locales/en/common.json index f4288210a0..34114e7f07 100644 --- a/frontend/benefit/handler/public/locales/en/common.json +++ b/frontend/benefit/handler/public/locales/en/common.json @@ -1278,7 +1278,7 @@ }, "submitted": { "title": "Päätösehdotus on lähetetty Ahjoon", - "text": "Viimeistele päätöskäsittely Ahjossa.", + "text": "Päätös hyväksytään Ahjossa.", "altText": "Hakemusnumero" } } diff --git a/frontend/benefit/handler/public/locales/fi/common.json b/frontend/benefit/handler/public/locales/fi/common.json index fe2a350705..1693c71da7 100644 --- a/frontend/benefit/handler/public/locales/fi/common.json +++ b/frontend/benefit/handler/public/locales/fi/common.json @@ -1278,7 +1278,7 @@ }, "submitted": { "title": "Päätösehdotus on lähetetty Ahjoon", - "text": "Viimeistele päätöskäsittely Ahjossa.", + "text": "Päätös hyväksytään Ahjossa.", "altText": "Hakemusnumero" } } diff --git a/frontend/benefit/handler/public/locales/sv/common.json b/frontend/benefit/handler/public/locales/sv/common.json index 2f9a0d2c2c..2749cf153e 100644 --- a/frontend/benefit/handler/public/locales/sv/common.json +++ b/frontend/benefit/handler/public/locales/sv/common.json @@ -1278,7 +1278,7 @@ }, "submitted": { "title": "Päätösehdotus on lähetetty Ahjoon", - "text": "Viimeistele päätöskäsittely Ahjossa.", + "text": "Päätös hyväksytään Ahjossa.", "altText": "Hakemusnumero" } } diff --git a/frontend/benefit/handler/src/components/applicationReview/notificationView/NotificationView.tsx b/frontend/benefit/handler/src/components/applicationReview/notificationView/NotificationView.tsx index 2d735408e6..9fc820986b 100644 --- a/frontend/benefit/handler/src/components/applicationReview/notificationView/NotificationView.tsx +++ b/frontend/benefit/handler/src/components/applicationReview/notificationView/NotificationView.tsx @@ -3,7 +3,7 @@ import AppContext from 'benefit/handler/context/AppContext'; import { useDetermineAhjoMode } from 'benefit/handler/hooks/useDetermineAhjoMode'; import { APPLICATION_STATUSES } from 'benefit-shared/constants'; import { Application } from 'benefit-shared/types/application'; -import { Button, IconLinkExternal } from 'hds-react'; +import { Button } from 'hds-react'; import Link from 'next/link'; import { useRouter } from 'next/router'; import { useTranslation } from 'next-i18next'; @@ -74,6 +74,8 @@ const NotificationView: React.FC = ({ data }) => { {data?.applicationNumber} + {', '} + {data?.ahjoCaseId}

)} {isNewAhjoMode @@ -89,14 +91,14 @@ const NotificationView: React.FC = ({ data }) => { - + */} )}