From 25df33dd03a265e75e3ed32c831a5c2f87ddc7de Mon Sep 17 00:00:00 2001 From: JanneJuhola Date: Wed, 11 Dec 2024 08:36:06 +0200 Subject: [PATCH 1/3] fix: Better text for Sent to Ahjo message --- 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 +- 3 files changed, 3 insertions(+), 3 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" } } From b9ac13168675976bdac5698ee20c69c5252b016e Mon Sep 17 00:00:00 2001 From: JanneJuhola Date: Wed, 11 Dec 2024 08:40:15 +0200 Subject: [PATCH 2/3] fix: Added Ahjo Case Id (diaari) and removed Go to Ahjo button in Sent to Ahjo message --- .../applicationReview/notificationView/NotificationView.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/frontend/benefit/handler/src/components/applicationReview/notificationView/NotificationView.tsx b/frontend/benefit/handler/src/components/applicationReview/notificationView/NotificationView.tsx index 2d735408e6..f7e52bcc9b 100644 --- a/frontend/benefit/handler/src/components/applicationReview/notificationView/NotificationView.tsx +++ b/frontend/benefit/handler/src/components/applicationReview/notificationView/NotificationView.tsx @@ -74,6 +74,8 @@ const NotificationView: React.FC = ({ data }) => { {data?.applicationNumber} + {', '} + {data?.ahjoCaseId}

)} {isNewAhjoMode @@ -89,14 +91,14 @@ const NotificationView: React.FC = ({ data }) => { - + */} )} From 36c500190909c77b3687b85fe110b0a773d918b1 Mon Sep 17 00:00:00 2001 From: JanneJuhola Date: Wed, 11 Dec 2024 09:40:00 +0200 Subject: [PATCH 3/3] fix: Remove import of not used IconLinkExternal --- .../applicationReview/notificationView/NotificationView.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/benefit/handler/src/components/applicationReview/notificationView/NotificationView.tsx b/frontend/benefit/handler/src/components/applicationReview/notificationView/NotificationView.tsx index f7e52bcc9b..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';