From cc13e8e9b91f824a9d54ab36f6934f065febe03b Mon Sep 17 00:00:00 2001 From: Ylfa <55542991+ylfahfa@users.noreply.github.com> Date: Mon, 21 Oct 2024 11:25:11 +0000 Subject: [PATCH] fix(old-age-pension): Change banner to warning and add link to income plan in pendingAction (#16485) --- .../old-age-pension/src/lib/OldAgePensionTemplate.ts | 4 ++-- .../old-age-pension/src/lib/messages.ts | 7 +++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/libs/application/templates/social-insurance-administration/old-age-pension/src/lib/OldAgePensionTemplate.ts b/libs/application/templates/social-insurance-administration/old-age-pension/src/lib/OldAgePensionTemplate.ts index 6523157edaec..eb2343ca151d 100644 --- a/libs/application/templates/social-insurance-administration/old-age-pension/src/lib/OldAgePensionTemplate.ts +++ b/libs/application/templates/social-insurance-administration/old-age-pension/src/lib/OldAgePensionTemplate.ts @@ -162,8 +162,8 @@ const OldAgePensionTemplate: ApplicationTemplate< }, pendingAction: { title: coreSIAStatesMessages.tryggingastofnunSubmittedTitle, - content: coreSIAStatesMessages.tryggingastofnunSubmittedContent, - displayStatus: 'info', + content: statesMessages.oldAgePensionSubmittedContent, + displayStatus: 'warning', }, historyLogs: [ { diff --git a/libs/application/templates/social-insurance-administration/old-age-pension/src/lib/messages.ts b/libs/application/templates/social-insurance-administration/old-age-pension/src/lib/messages.ts index a25ebcb76d34..47a792a7f72c 100644 --- a/libs/application/templates/social-insurance-administration/old-age-pension/src/lib/messages.ts +++ b/libs/application/templates/social-insurance-administration/old-age-pension/src/lib/messages.ts @@ -516,4 +516,11 @@ export const statesMessages = defineMessages({ defaultMessage: 'Umsókn vegna ellilífeyris hefur verið samþykkt', description: 'The application for old-age pension has been approved', }, + oldAgePensionSubmittedContent: { + id: 'oap.application:oldAgePensionSubmittedContent#markdown', + defaultMessage: + 'Umsókn þín er í bið eftir yfirferð. Hægt er að breyta umsókn þar til hún er tekin til yfirferðar. Athugið að ef ekki er búið að skila inn tekjuáætlun þarf að gera það hér.', + description: + 'Your application is awaiting review. It is possible to edit the application until it is under review. Please note that if you have not submitted an income plan, you must do so here.', + }, })