From 3fd969359639c21a2ba790a760922b11d050a0ef Mon Sep 17 00:00:00 2001 From: Jarkko Pesonen <435495+jrkkp@users.noreply.github.com> Date: Wed, 4 Dec 2024 23:23:45 +0200 Subject: [PATCH] VKT(Frontend & Backend): some random fixes --- backend/vkt/src/main/java/fi/oph/vkt/util/UIRouteUtil.java | 4 ++-- .../steps/selectExam/PartialExamsSelection.tsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/backend/vkt/src/main/java/fi/oph/vkt/util/UIRouteUtil.java b/backend/vkt/src/main/java/fi/oph/vkt/util/UIRouteUtil.java index 9f12a5d69..f51c1ae19 100644 --- a/backend/vkt/src/main/java/fi/oph/vkt/util/UIRouteUtil.java +++ b/backend/vkt/src/main/java/fi/oph/vkt/util/UIRouteUtil.java @@ -12,11 +12,11 @@ public class UIRouteUtil { private final Environment environment; public String getEnrollmentContactDetailsUrl(final long examEventId) { - return String.format("%s/ilmoittaudu/%s/tiedot", getPublicBaseUrl(), examEventId); + return String.format("%s/erinomainen-taito/ilmoittaudu/%s/tiedot", getPublicBaseUrl(), examEventId); } public String getEnrollmentPreviewUrl(final long examEventId) { - return String.format("%s/ilmoittaudu/%s/esikatsele", getPublicBaseUrl(), examEventId); + return String.format("%s/erinomainen-taito/ilmoittaudu/%s/esikatsele", getPublicBaseUrl(), examEventId); } public String getPublicFrontPageUrlWithGenericError() { diff --git a/frontend/packages/vkt/src/components/publicEnrollment/steps/selectExam/PartialExamsSelection.tsx b/frontend/packages/vkt/src/components/publicEnrollment/steps/selectExam/PartialExamsSelection.tsx index 436fb4649..172d1677b 100644 --- a/frontend/packages/vkt/src/components/publicEnrollment/steps/selectExam/PartialExamsSelection.tsx +++ b/frontend/packages/vkt/src/components/publicEnrollment/steps/selectExam/PartialExamsSelection.tsx @@ -162,7 +162,7 @@ export const PartialExamsSelection = ({
- {t('doFullExam')} + {t('fullExam.question')} } - label={t('noFullExam')} + label={t('fullExam.no')} checked={ !allPartialExamsChecked && (dirtyFullExam || somePartialExamsChecked)