Skip to content

Commit

Permalink
VKT(Frontend & Backend): some random fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jrkkp committed Dec 4, 2024
1 parent 43edb3b commit 3fd9693
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions backend/vkt/src/main/java/fi/oph/vkt/util/UIRouteUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ export const PartialExamsSelection = ({
<div className="rows">
<FormControl component="fieldset">
<FormLabel component="legend" className="heading-label">
{t('doFullExam')}
{t('fullExam.question')}
</FormLabel>
<RadioGroup
className="rows gapped-xxs"
Expand All @@ -185,7 +185,7 @@ export const PartialExamsSelection = ({
disabled={editingDisabled}
value={YesNo.No}
control={<Radio aria-describedby="full-exam-error" />}
label={t('noFullExam')}
label={t('fullExam.no')}
checked={
!allPartialExamsChecked &&
(dirtyFullExam || somePartialExamsChecked)
Expand Down

0 comments on commit 3fd9693

Please sign in to comment.