From a86b9f3a12810c363ad3bfe30d9f4891861b567a Mon Sep 17 00:00:00 2001 From: Sampo Tawast Date: Thu, 5 Dec 2024 09:32:01 +0200 Subject: [PATCH] fix: change logo and text in for archival application in archive --- .../benefit/handler/public/locales/en/common.json | 2 +- .../benefit/handler/public/locales/fi/common.json | 2 +- .../benefit/handler/public/locales/sv/common.json | 2 +- .../applicationsArchive/ApplicationArchiveList.tsx | 11 +++++++++-- 4 files changed, 12 insertions(+), 5 deletions(-) diff --git a/frontend/benefit/handler/public/locales/en/common.json b/frontend/benefit/handler/public/locales/en/common.json index 5d543e7feb..b7ddc4f560 100644 --- a/frontend/benefit/handler/public/locales/en/common.json +++ b/frontend/benefit/handler/public/locales/en/common.json @@ -213,7 +213,7 @@ "cancelled": "Peruutettu", "accepted": "Myönteinen", "rejected": "Kielteinen", - "archival": "Myönteinen" + "archival": "Paperihakemus" }, "talpaStatuses": { "not_sent_to_talpa": "Odottaa maksua", diff --git a/frontend/benefit/handler/public/locales/fi/common.json b/frontend/benefit/handler/public/locales/fi/common.json index bd5534459c..4cb897194b 100644 --- a/frontend/benefit/handler/public/locales/fi/common.json +++ b/frontend/benefit/handler/public/locales/fi/common.json @@ -213,7 +213,7 @@ "cancelled": "Peruutettu", "accepted": "Myönteinen", "rejected": "Kielteinen", - "archival": "Myönteinen" + "archival": "Paperihakemus" }, "talpaStatuses": { "not_sent_to_talpa": "Odottaa", diff --git a/frontend/benefit/handler/public/locales/sv/common.json b/frontend/benefit/handler/public/locales/sv/common.json index bcd99a5106..4ffa699ae7 100644 --- a/frontend/benefit/handler/public/locales/sv/common.json +++ b/frontend/benefit/handler/public/locales/sv/common.json @@ -213,7 +213,7 @@ "cancelled": "Peruutettu", "accepted": "Myönteinen", "rejected": "Kielteinen", - "archival": "Myönteinen" + "archival": "Paperihakemus" }, "talpaStatuses": { "not_sent_to_talpa": "Odottaa maksua", diff --git a/frontend/benefit/handler/src/components/applicationsArchive/ApplicationArchiveList.tsx b/frontend/benefit/handler/src/components/applicationsArchive/ApplicationArchiveList.tsx index 0521154117..2b16368110 100644 --- a/frontend/benefit/handler/src/components/applicationsArchive/ApplicationArchiveList.tsx +++ b/frontend/benefit/handler/src/components/applicationsArchive/ApplicationArchiveList.tsx @@ -7,7 +7,14 @@ import { ApplicationAlterationData, ApplicationData, } from 'benefit-shared/types/application'; -import { IconAlertCircle, IconCheck, IconCross, Table, Tag } from 'hds-react'; +import { + IconAlertCircle, + IconCheck, + IconCross, + IconHistory, + Table, + Tag, +} from 'hds-react'; import { useTranslation } from 'next-i18next'; import * as React from 'react'; import LoadingSkeleton from 'react-loading-skeleton'; @@ -64,7 +71,7 @@ const ApplicationArchiveList: React.FC = ({ {status === APPLICATION_STATUSES.ACCEPTED && } {status === APPLICATION_STATUSES.REJECTED && } {status === APPLICATION_STATUSES.CANCELLED && } - {status === APPLICATION_STATUSES.ARCHIVAL && } + {status === APPLICATION_STATUSES.ARCHIVAL && } {t( `common:applications.list.columns.applicationStatuses.${String(