Skip to content

Commit

Permalink
Hl 1551 (#3645)
Browse files Browse the repository at this point in the history
* 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
JanneJuhola authored Dec 11, 2024
1 parent 9981a73 commit 7bae95d
Showing 4 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion frontend/benefit/handler/public/locales/en/common.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
2 changes: 1 addition & 1 deletion frontend/benefit/handler/public/locales/fi/common.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
2 changes: 1 addition & 1 deletion frontend/benefit/handler/public/locales/sv/common.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
Original file line number Diff line number Diff line change
@@ -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<Props> = ({ data }) => {
<Link href={`${ROUTES.APPLICATION}?id=${data?.id}`}>
{data?.applicationNumber}
</Link>
{', '}
{data?.ahjoCaseId}
</p>
)}
{isNewAhjoMode
@@ -89,14 +91,14 @@ const NotificationView: React.FC<Props> = ({ data }) => {
<Button theme="coat" onClick={handleGoHome}>
{t('common:utility.home')}
</Button>
<Button
{/* <Button
variant="secondary"
theme="coat"
onClick={handleStartAhjo}
iconRight={<IconLinkExternal />}
>
{t(`${translationsBase}.ahjoButton.linkLabel`)}
</Button>
</Button> */}
</$ActionsContainer>
</$GridCell>
)}

0 comments on commit 7bae95d

Please sign in to comment.